mgamma Class Reference

Gamma random walk. More...

#include <libEF.h>

Collaboration diagram for mgamma:

Collaboration graph
[legend]

List of all members.

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)


Detailed Description

Gamma random walk.

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)$.


The documentation for this class was generated from the following files:
Generated on Thu Feb 28 16:54:53 2008 for mixpp by  doxygen 1.5.3