View source: R/fit_IPD_optim.R
fit_IPD_optim | R Documentation |
Fit a finite mixture model using optimization
fit_IPD_optim(
d,
covariates = NULL,
n_strategies = 12,
eta_moves = 4,
eta_arb = 4
)
d |
A data list of the format exported by simulate_round_robin(). |
covariates |
A matrix of covariates. Row number should equal the number of players. |
n_strategies |
The number of considered strategies. PrisonR considers 12 by default. Changing this requires advanced editing of the Stan code. Good luck! |
eta_moves |
A term that controls the plausibility of implementation errors. |
eta_arb |
A term that controls the plausibility of implementation errors. |
A Stan object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.