llapprox-class | R Documentation |
Objects for Log-Likelihood function approximations.
llapprox(refz, mrfi, family, method = "pseudo", verbose = interactive(), ...)
refz |
A reference field to generate the approximation function. It is used to infer the lattice dimensions, support and any other relevant properties. |
mrfi |
|
family |
A parameter restriction family from |
method |
Which type of approximation should be created. Options are:
|
verbose |
|
... |
Extra options passed depending on the method used.
|
a llapprox
object.
lafn
The log-likelihood function approximation lafn(z, theta)
.
It is either a function of the complete lattice configuration or the
vector of sufficient statistics, depending on the value of pass_entire
.
family
a parameter restriction family from mrf2d
.
mrfi
a mrfi
object with the interaction structure.
C
Maximum integer value of the random fields considered (i.e., mrf support ranging from 0 to C)
pass_entire
logical
value indicating whether the first argument of
lafn()
should be the entire lattice (TRUE
) or the vector of sufficient
statistics (FALSE
).
method
The method used to create that function.
internal_data
Internal data to be used by the approximating function.
ptime
Time (in seconds) used to compute the approximation.
Victor Freguglia
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.