| proclhmm {proclhmm} | R Documentation |
proclhmm: Latent Hidden Markov Models for Response Process Data
Description
This package provides functions for simulating from and fitting the latent hidden Markov models for response process data (Tang, 2024). It also includes functions for simulating from and fitting ordinary hidden Markov models.
Data Simulation Functions
-
sim_hmm_parasgenerates parameters of HMM -
sim_hmmgenerates actions sequences from HMM. -
sim_lhmm_parasgenerates parameters of LHMM -
sim_lhmmgenerates actions sequences from LHMM.
Model Fitting Functions
-
hmmfits HMM models. Parameters are estimated through marginalized maximum likelihood estimation. -
lhmmfits LHMM models. Parameters are estimated through marginalized maximum likelihood estimation. -
compute_thetacompute MAP estimates of latent traits in LHMM. -
find_state_seqcompute the most likely hidden state sequence.
Acknowledgment
The development of this package is supported by National Science Foundation grant DMS-2310664.
References
Tang, X. (2024) Latent Hidden Markov Models for Response Process Data. Psychometrika 89, 205-240. doi: 10.1007/s11336-023-09938-1