parammod {SBMSplitMerge} | R Documentation |
Parameter Model
Description
create a parammod
object
Usage
parammod(logd, r, t, invt, loggradt, ...)
Arguments
logd |
|
r |
|
t |
mapping parameter space to real line |
invt |
mapping real line to parameter space |
loggradt |
log of the gradient of mapping |
... |
additional arguments to store in the |
Details
A parameter model is a probability model for a params
object.
This class creates a closure with five functions:
- a random method for sampling a params
object
- a log-density method for computing the log-density of a given params
object
- a transformation function t
that maps a parameter value to the real line
- the inverse of t
- the log-gradient of t
Value
a parammod
object
See Also
param_beta
param_gamma
param_nbin
param_norm
[Package SBMSplitMerge version 1.1.1 Index]