Other packages > Find by keyword >

LaMa  

Fast Numerical Maximum Likelihood Estimation for Latent Markov Models
View on CRAN: Click here


Download and install LaMa package within the R console
Install from CRAN:
install.packages("LaMa")

Install from Github:
library("remotes")
install_github("cran/LaMa")

Install by package version:
library("remotes")
install_version("LaMa", "2.0.3")



Attach the package and use:
library("LaMa")
Maintained by
Jan-Ole Koslik
[Scholar Profile | Author Map]
First Published: 2024-06-04
Latest Update: 2024-06-04
Description:
The class of latent Markov models, including hidden Markov models, hidden semi-Markov models, state space models, and point processes, is a very popular and powerful framework for inference of time series driven by latent processes. Furthermore, all these models can be fitted using direct numerical maximum likelihood estimation using the so-called forward algorithm as discussed in Zucchini et al. (2016) <doi:10.1201/b20790>. However, due to their great flexibility, researchers using these models in applied work often need to build highly customized models for which standard software implementation is lacking, or the construction of such models in said software is as complicated as writing fully tailored 'R' code. While providing greater flexibility and control, the latter suffers from slow estimation speeds that make custom solutions inconvenient. We address the above issues in two ways. First, standard blocks of code, common to all these model classes, are implemented as simple-to-use functions that can be added like Lego blocks to an otherwise fully custom likelihood function, making writing custom code much easier. Second, under the hood, these functions are written in 'C++', allowing for 10-20 times faster evaluation time, and thus drastically speeding up model estimation. To aid in building fully custom likelihood functions, several vignettes are included that show how to simulate data from and estimate all the above model classes.
How to cite:
Jan-Ole Koslik (2024). LaMa: Fast Numerical Maximum Likelihood Estimation for Latent Markov Models. R package version 2.0.3, https://cran.r-project.org/web/packages/LaMa. Accessed 03 Apr. 2025.
Previous versions and publish date:
1.0.0 (2024-06-04 11:47), 2.0.0 (2024-11-12 14:20), 2.0.1 (2024-11-13 09:30), 2.0.2 (2024-11-20 14:30)
Other packages that cited LaMa R package
View LaMa citation profile
Other R packages that LaMa depends, imports, suggests or enhances
Complete documentation for LaMa
Functions, R codes and Examples using the LaMa R package
Full LaMa package functions and examples
Downloads during the last 30 days
03/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/3003/3104/0104/02Downloads for LaMa0246810121416TrendBars

Today's Hot Picks in Authors and Packages

RZooRoH  
Partitioning of Individual Autozygosity into Multiple Homozygous-by-Descent Classes
Functions to identify Homozygous-by-Descent (HBD) segments associated with runs of homozygosity (ROH ...
Download / Learn more Package Citations See dependency  
automl  
Deep Learning with Metaheuristic
Fits from simple regression to highly customizable deep neural networks either with gradient descen ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
RI2by2  
Randomization Inference for Treatment Effects on a Binary Outcome
Computes attributable effects based confidence interval, permutation test confidence interval, or as ...
Download / Learn more Package Citations See dependency  
RPMG  
Graphical User Interface (GUI) for Interactive R Analysis Sessions
Really Poor Man's Graphical User Interface, used to create interactive R analysis sessions with simp ...
Download / Learn more Package Citations See dependency  
RobustANOVA  
Robust One-Way ANOVA Tests under Heteroscedasticity and Nonnormality
Robust tests (RW, RPB and RGF) are provided for testing the equality of several long-tailed symmetri ...
Download / Learn more Package Citations See dependency  

23,990

R Packages

207,311

Dependencies

64,809

Author Associations

23,991

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA