Description Usage Arguments Details Value See Also
create a parammod
object
1 |
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 |
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
a parammod
object
param_beta
param_gamma
param_nbin
param_norm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.