Likelihood Ratio Test P-Values for Structural Equation Models

Computes likelihood ratio test (LRT) p-values for free parameters in a structural equation model. Currently supports models fitted by the 'lavaan' package by Rosseel (2012) .


Lifecycle: stable Project Status: Active - The project has reached a stable, usable state and is being actively developed. Code size Last Commit at Main R-CMD-check

(Version 0.1.2, updated on 2026-07-19, release history)

semlrtp: Likelihood Ratio Test p-Values for Structural Equation Models

This package is used for computing LRT p-values for free parameters in structural equation model using likelihood ratio test (LRT). As demonstrated in the Get-Started article, the LRT p-value has some advantages over the usual p-values reported in SEM program.

However, it is not easy to compute them because each p-value requires fitting one additional model. We developed this package to make this process simple and automatic such that it is practical to use LRT p-values in most commonly interpreted parameters.

See the Get-Started article for a quick demonstration on how to use this package.

For more information on this package, please visit its GitHub page:

https://sfcheung.github.io/semlrtp/

Installation

The stable version at CRAN can be installed by install.packages():

install.packages("semlrtp")

The latest developmental version of this package can be installed by remotes::install_github:

remotes::install_github("sfcheung/semlrtp")

Issues

If you have any suggestions and found any bugs, please feel feel to open a GitHub issue here. Thanks.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("semlrtp")

0.1.2 by Shu Fai Cheung, 3 months ago


https://sfcheung.github.io/semlrtp/


Report a bug at https://github.com/sfcheung/semlrtp/issues


Browse source code at https://github.com/cran/semlrtp


Authors: Shu Fai Cheung [aut, cre] (ORCID: , Mark Hok Chio Lai [aut] (ORCID:


Documentation:   PDF Manual  


GPL (>= 3) license


Imports lavaan, utils, parallel, pbapply

Suggests knitr, rmarkdown, testthat


See at CRAN