Measurement Error Analysis and Correction Under Identification Restrictions
Overview
Implements methods for analyzing latent variable models with measurement error correction, including Item Response Theory (IRT) models. Provides tools for various correction methods such as Bayesian Markov Chain Monte Carlo (MCMC), over-imputation, bootstrapping for robust standard errors, Ordinary Least Squares (OLS), and Instrumental Variables (IV) based approaches. Supports flexible specification of observable indicators and groupings for latent variable analyses in social sciences and other fields. Methods are described in a working paper (2025) doi:10.48550/arXiv.2507.22218.
Package Rename
- Renamed package from
lpmetolpmec(Latent Predictor Measurement Error Correction). - The name "lpme" was already taken by a different archived CRAN package (by Zhou & Huang).
- Main functions are
lpmec()andlpmec_onerun().
CRAN Resubmission
- Removed dependency on archived package
decon. - Version bump from 0.1.1 to 1.1.4 (continuing from archived CRAN version 1.1.3).
CRAN Preparation
- Fixed vignette to use correct
estimation_methodvalues ("em" instead of "emIRT"). - Added
.Rbuildignoreto exclude development files from package build. - Replaced
eval(parse())pattern with direct assignment for CRAN compliance. - Changed
F/TtoFALSE/TRUEthroughout codebase.
Show all changes in 1.1.4Hide the rest of the changes in 1.1.4
- Wrapped examples in
\donttest{}to avoid CRAN timeout issues. - Changed
conda_env_requireddefault toFALSEfor CRAN compatibility. - Updated CITATION file to use modern
bibentry()format. - Added
skip_on_cran()guards to test files. - Added internal function documentation with
@noRdtags.
Documentation
- Fixed documentation to correctly indicate
psclas the default MCMC backend. - Updated version year in CITATION file.
Previous Changes
- Added CITATION file for proper citation information.
- Updated DESCRIPTION with explicit Author field.
- Minor documentation updates.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 11
- Examples that run
- 40%2 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 77%
- Return-value docs
- 100%
- Help pages citing references
- 18%
Downloads
Repository
- PRs merged (all time)
- 90%
- Median days to close, 50 most recently updated closed issues
- 48
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
Commits over time
Checks run against github.com/cjerzak/lpmec-software on 2026-10-25.
No development-tooling practices detected in the upstream repository.
This repository shows signs of AI coding tools.
- Codexfirst seen 2025-06-02Pull request it wrote: opened by a project member
- Claude Codefirst seen 2025-12-11Named in .gitignore: .claude, CLAUDE.mdCommits: at least 1 crediting it in the message
- Claude Fable 51 commit · Jul 2026
Dependencies
Code & Tests
Datasets
People & History
- RR 4.6.0 released · 2026-04-24
- 1.1.4Latest2026-02-09 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-02-09
- Total releases
- 1 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 5.3 KB / 2 files
- Download size
- 68 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("lpmec")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.48550/arxiv.2507.22218.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.