Learn R Programming

rtmpt (version 2.0-3)

Fitting (Exponential/Diffusion) RT-MPT Models

Description

Fit (exponential or diffusion) response-time extended multinomial processing tree (RT-MPT) models by Klauer and Kellen (2018) and Klauer, Hartmann, and Meyer-Grant (submitted). The RT-MPT class not only incorporate frequencies like traditional multinomial processing tree (MPT) models, but also latencies. This enables it to estimate process completion times and encoding plus motor execution times next to the process probabilities of traditional MPTs. 'rtmpt' is a hierarchical Bayesian framework and posterior samples are sampled using a Metropolis-within-Gibbs sampler (for exponential RT-MPTs) or Hamiltonian-within-Gibbs sampler (for diffusion RT-MPTs).

Copy Link

Version

Install

install.packages('rtmpt')

Monthly Downloads

332

Version

2.0-3

License

GPL (>= 2)

Maintainer

Raphael Hartmann

Last Published

March 19th, 2025

Functions in rtmpt (2.0-3)

to_drtmpt_model

Create a model list to fit a Diffusion-RT-MPT
tau2zero

Set process completion times to zero
theta2const

Set process probabilities to constants
omega2omega

Set process relaitve starting-point equal
sim_ertmpt_data

Simulate data from RT-MPT models
sim_ertmpt_data_SBC

Simulate data from an RT-MPT model
theta2theta

Set process probabilities equal
tau2tau

Set process completion times equal
to_drtmpt_data

Transform data to be used in Diffusion RT-MPT model fitting
to_ertmpt_model

Create a model list to fit an RT-MPT
set_resps

Set responses in an ertmpt_model or a drtmpt_model
to_ertmpt_data

Transform data to be used in RT-MPT model fitting
fit_drtmpt

Fit Diffusion-RT-MPT Models
fit_ertmpt

Fit Exponential-RT-MPT Models
a2const

Set process threshold to constants
nu2nu

Set process drift rates equal
nu2const

Set process drift rate to constants
a2a

Set process thresholds equal
fit_ertmpt_SBC

Simulation-based calibration for RT-MPT models
omega2const

Set process relative starting-point to constants
delta2delta

Set mapping between response categories and encoding plus motor execution times
SimData

Data simulated from the restricted 2HTM