Public Member Functions

DefaultMCMC Class Reference

Inheritance diagram for DefaultMCMC:
MetropolisHastings PsiSampler

List of all members.

Public Member Functions

 DefaultMCMC (const PsiPsychometric *Model, const PsiData *Data, PsiRandom *proposal)
double acceptance_probability (const std::vector< double > &current_theta, const std::vector< double > &new_theta)
void proposePoint (std::vector< double > &current_theta, std::vector< double > &stepwidths, PsiRandom *proposal, std::vector< double > &new_theta)
 propose a new sample and save it in new_theta
void set_proposal (unsigned int i, PsiPrior *proposal)

Constructor & Destructor Documentation

DefaultMCMC::DefaultMCMC ( const PsiPsychometric Model,
const PsiData Data,
PsiRandom proposal 
)
Parameters:
Model psychometric function model to sample from
Data data to base inference on
proposal IGNORED

The documentation for this class was generated from the following files: