#include <libEF.h>
Public Member Functions | |
mgamma (const RV &rv, const RV &rvc) | |
Constructor. | |
void | set_parameters (double k) |
vec | samplecond (vec &cond, double &lik) |
Generate one sample of the posterior. | |
mat | samplecond (vec &cond, vec &lik, int n) |
Generate matrix of samples of the posterior. | |
void | condition (const vec &val) |
Mean value, $$, of this density is given by rvc
. Standard deviation of the random walk is proportional to one $k$-th the mean. This is achieved by setting $=k$ and $=k/$.
The standard deviation of the walk is then: $/(k)$.