Crandore Hub

LAM

Some Latent Variable Models

Includes some procedures for latent variable modeling with a particular focus on multilevel data. The 'LAM' package contains mean and covariance structure modelling for multivariate normally distributed data (mlnormal(); Longford, 1987; <doi:10.1093/biomet/74.4.817>), a general Metropolis-Hastings algorithm (amh(); Roberts & Rosenthal, 2001, <doi:10.1214/ss/1015346320>) and penalized maximum likelihood estimation (pmle(); Cole, Chu & Greenland, 2014; <doi:10.1093/aje/kwt245>).

README

# LAM
#### Some Latent Variable Models


If you use `LAM` and have suggestions for improvement or have found bugs, please email me at robitzsch@leibniz-ipn.de.
Please always provide a minimal dataset, necessary to demonstrate the problem, 
a minimal runnable code necessary to reproduce the issue, which can be run on the given dataset, and
all necessary information on the used librarys, the R version, and the OS it is run on, perhaps a sessionInfo().

#### Manual

The manual may be found here [https://alexanderrobitzsch.github.io/LAM/](https://alexanderrobitzsch.github.io/LAM/) 

#### CRAN version

<!---
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version-last-release/LAM)](https://cran.r-project.org/package=LAM)
&#160;&#160;
-->

The official version of `LAM` is hosted on CRAN and may be found [here](https://cran.r-project.org/package=LAM). 
The CRAN version can be installed from within R using:

```r
utils::install.packages("LAM")
```

#### GitHub version

The version hosted [here](https://github.com/alexanderrobitzsch/LAM) is the development version of `LAM`. 
The GitHub version can be installed using `devtools` as:

```r
devtools::install_github("alexanderrobitzsch/LAM")
```

Versions across snapshots

VersionRepositoryFileSize
0.7-22 rolling linux/jammy R-4.5 LAM_0.7-22.tar.gz 67.1 KiB
0.7-22 rolling linux/noble R-4.5 LAM_0.7-22.tar.gz 306.6 KiB
0.7-22 rolling source/ R- LAM_0.7-22.tar.gz 67.1 KiB
0.7-22 latest linux/jammy R-4.5 LAM_0.7-22.tar.gz 67.1 KiB
0.7-22 latest linux/noble R-4.5 LAM_0.7-22.tar.gz 306.6 KiB
0.7-22 latest source/ R- LAM_0.7-22.tar.gz 67.1 KiB
0.7-22 2026-04-26 source/ R- LAM_0.7-22.tar.gz 67.1 KiB
0.7-22 2026-04-23 source/ R- LAM_0.7-22.tar.gz 67.1 KiB
0.7-22 2026-04-09 windows/windows R-4.5 LAM_0.7-22.zip 623.1 KiB
0.7-22 2025-04-20 source/ R- LAM_0.7-22.tar.gz 67.1 KiB

Dependencies (latest)

Enhances

Imports

LinkingTo

Suggests