Skip to content

lpmec

1.1.4Package record

Measurement Error Analysis and Correction Under Identification Restrictions

0packages depend
1.7Kdownloads / year
55.1%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.1.4

Package Rename

  • Renamed package from lpme to lpmec (Latent Predictor Measurement Error Correction).
  • The name "lpme" was already taken by a different archived CRAN package (by Zhou & Huang).
  • Main functions are lpmec() and lpmec_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_method values ("em" instead of "emIRT").
  • Added .Rbuildignore to exclude development files from package build.
  • Replaced eval(parse()) pattern with direct assignment for CRAN compliance.
  • Changed F/T to FALSE/TRUE throughout 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_required default to FALSE for CRAN compatibility.
  • Updated CITATION file to use modern bibentry() format.
  • Added skip_on_cran() guards to test files.
  • Added internal function documentation with @noRd tags.

Documentation

  • Fixed documentation to correctly indicate pscl as 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

CRAN checks
13OK
Slowest check: 3.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.4
READMENoVignettesYes · 1 · dynamicNEWSYes · 67% structured · mentions 1.1.4Citation fileYes · software entry onlyWebsitenot declared in DESCRIPTION
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

1.7K
CRAN downloads in the past year
Rank #22,690 · ~5/day · ~145/mo
Daily download trend is not available in this view yet.
19330 days
58890 days
1.7K1 year
Compare downloads with other packages →
Also on45 r2u3 autocran

Repository

5Stars
1Forks
0Open issues
0Open PRs
2Releases
258Commits
14Commit identities
measurement-errorattenuation-biasidentification-restrictionslatent-traits
License file reads as GPL-2.0 · 258 commits · Last activity 2026-10-16 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-06-16 · 32026-07-07 · 5
PracticesBeta

Checks run against github.com/cjerzak/lpmec-software on 2026-10-25.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Codexfirst seen 2025-06-02
    Pull request it wrote: opened by a project member
  • Claude Codefirst seen 2025-12-11
    Named in .gitignore: .claude, CLAUDE.md
    Commits: at least 1 crediting it in the message
Models named in its commits
  • Claude Fable 51 commit · Jul 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing lpmec adds 75 packages (42 with compiled code, 71 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, doBy 4.3 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 1.1.4 (2026)
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.4Latest
    2026-02-09 · current release
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for lpmec version 1.1.4 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy