Public Member Functions

PsiSampler Class Reference

Inheritance diagram for PsiSampler:
HybridMCMC MetropolisHastings DefaultMCMC GenericMetropolis

List of all members.

Public Member Functions

 PsiSampler (const PsiPsychometric *Model, const PsiData *Data)
 set up a sampler to sample from the posterior of the parameters of pmf given the data dat
virtual std::vector< double > draw (void)
 draw a sample from the posterior
virtual void setTheta (const std::vector< double > theta)
 set the "state" of the underlying markov chain
virtual std::vector< double > getTheta (void)
 get the "state" of the underlying markov chain
virtual void setStepSize (double size, unsigned int param)
 set the size of the steps for parameter param of the sampler
virtual void setStepSize (const std::vector< double > &sizes)
 set all stepsizes of the sampler
virtual double getDeviance (void)
 return the model deviance for the current state
virtual MCMCList sample (unsigned int N)
 draw N samples from the posterior
const PsiPsychometricgetModel () const
 return the underlying model instance
const PsiDatagetData () const
 return the underlying data instance

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