List of all members.
Public Member Functions |
| HybridMCMC (const PsiPsychometric *Model, const PsiData *Data, int Nleap) |
| initialize the sampler
|
std::vector< double > | draw (void) |
| draw a sample from the posterior
|
void | setTheta (const std::vector< double > &prm) |
| set the current state of the sampler
|
std::vector< double > | getTheta (void) |
| get the current state of the sampler
|
void | setStepSize (double size, unsigned int param) |
| set stepsize of the leapfrog integration for parameter param
|
void | setStepSize (const std::vector< double > &sizes) |
| set all stepsizes of leapfrog integration for all parameters at once
|
double | getDeviance (void) |
| get the current deviance
|
MCMCList | sample (unsigned int N) |
| draw N samples from the posterior
|
Constructor & Destructor Documentation
initialize the sampler
- Parameters:
-
| Model | psychometric function model to sample from |
| Data | data to base inference on |
| Nleap | number of leapfrog steps to be performed for each sample |
The documentation for this class was generated from the following files: