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", "1.0.0")



Attach the package and use:
library("LaMa")
Maintained by
Jan-Ole Koslik
[Scholar Profile | Author Map]
All associated links for this package
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 1.0.0, https://cran.r-project.org/web/packages/LaMa
Previous versions and publish date:
No previous versions
Other packages that cited LaMa R package
View LaMa citation profile
Other R packages that LaMa depends, imports, suggests or enhances
Functions, R codes and Examples using the LaMa R package
Full LaMa package functions and examples
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

largeList  
Serialization Interface for Large List Objects
Functions to write or append a R list to a file, as well as read, remove, modify elements from it wi ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
DelayedEffect.Design  
Sample Size and Power Calculations using the APPLE, SEPPLE, APPLE+ and SEPPLE+ Methods
Provides sample size and power calculations when the treatment time-lag effect is present and the la ...
Download / Learn more Package Citations See dependency  
MPCI  
Multivariate Process Capability Indices (MPCI)
It performs the followings Multivariate Process Capability Indices: Shahriari et al. (1995) Multivar ...
Download / Learn more Package Citations See dependency  
interplex  
Coercion Methods for Simplicial Complex Data Structures
Computational topology, which enables topological data analysis (TDA), makes pervasive use of abstr ...
Download / Learn more Package Citations See dependency  
PCL  
Proximal Causal Learning
We fit causal models using proxies. We implement two stage proximal least squares estimator. E.J. Tc ...
Download / Learn more Package Citations See dependency  

22,431

R Packages

191,269

Dependencies

56,139

Author Associations

22,432

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net. Contact Us / Suggestions / Concerns