Rev Language Reference


powerPosterior

Usage

powerPosterior(Model model, Move[] moves, Monitor[] monitors, String filename, RealPos[] powers, Natural cats, RealPos alpha, Natural sampleFreq, Natural procPerLikelihood)

Arguments

model : Model (pass by value)
The model graph.
moves : Move[] (pass by value)
The vector moves to use.
monitors : Monitor[] (pass by value)
The monitors to call. Do not provide a screen monitor.
filename : String (pass by value)
The name of the file for the likelihood samples.
powers : RealPos[] (pass by value)
A vector of powers.
Default : NULL
cats : Natural (pass by value)
The number of categories if no powers are specified.
Default : 100
alpha : RealPos (pass by value)
The alpha parameter of the beta distribution if no powers are specified.
Default : 0.2
sampleFreq : Natural (pass by value)
The sampling frequency of the likelihood values.
Default : 100
procPerLikelihood : Natural (pass by value)
Number of processors used to compute the likelihood.
Default : 1

Methods