This function provides a unified interface for four estimation methods:
Maximum Likelihood Estimation (MLE), Maximum A Posteriori (MAP),
Approximate Bayesian Computation (ABC), and Recurrent Neural Network
(RNN), allowing users to execute different methods simply by setting
estimate = "???".
estimation_methods(
estimate,
data,
colnames,
behrule,
ids = NULL,
models,
funcs = NULL,
priors = NULL,
settings = NULL,
algorithm,
lowers,
uppers,
control,
...
)An S3 object of class DataFrame containing, for each model,
the estimated optimal parameters and associated model fit metrics.
Estimate method that you want to use, see estimate
A data frame in which each row represents a single trial, see data
Column names in the data frame, see colnames
The agent’s implicitly formed internal rule, see behrule
The Subject ID of the participant whose data needs to be fitted.
Reinforcement Learning Models
The functions forming the reinforcement learning model, see funcs
Prior probability density function of the free parameters, see priors
Other model settings, see settings
Algorithm packages that multiRL supports, see algorithm
Lower bound of free parameters in each model.
Upper bound of free parameters in each model.
Settings manage various aspects of the iterative process, see control
Additional arguments passed to internal functions.