View source: R/static_loglikelihood.R
compute log likelihood of observing y in the static model
1 2 3 4 5 6 7 | static_loglikelihood(
y,
parameters,
model_config,
method = "tp",
particle_config = NULL
)
|
parameters |
a list containing beta and rho |
model_config |
a list containing population size and agent features |
method |
can be from the list c('tp','exact','mc') |
particle_config |
if method == 'mc', then use this argument and it must contain num_particles |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.