Skip to content

missalpha

0.2.0

Find Range of Cronbach Alpha with a Dataset Including Missing Data

0packages depend
2.3Kdownloads / year
81.6%test coverage
13/13checks pass

Overview

About
Maintained by Biying ZhouFirst published 2025-09-092 releasesCRAN page ↗

Provides functions to calculate the minimum and maximum possible values of Cronbach's alpha when item-level missing data are present. Cronbach's alpha (Cronbach, 1951 doi:10.1007/BF02310555) is one of the most widely used measures of internal consistency in the social, behavioral, and medical sciences (Bland & Altman, 1997 doi:10.1136/bmj.314.7080.572; Tavakol & Dennick, 2011 doi:10.5116/ijme.4dfb.8dfd). However, conventional implementations assume complete data, and listwise deletion is often applied when missingness occurs, which can lead to biased or overly optimistic reliability estimates (Enders, 2003 doi:10.1037/1082-989X.8.3.322). This package implements computational strategies including enumeration, Monte Carlo sampling, and optimization algorithms (e.g., Genetic Algorithm, Differential Evolution, Sequential Least Squares Programming) to obtain sharp lower and upper bounds of Cronbach's alpha under arbitrary missing data patterns. The approach is motivated by Manski's partial identification framework and pessimistic bounding ideas from optimization literature.

Install

Health

CRAN checks
13OK
Slowest check: 8.1 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.23
81.6%
Coverage · measured lines
100%
Documentation · exports
None
Vignettes
No
README
4
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

2.3K
CRAN downloads in the past year
Rank #22,990 · ~6/day · ~193/mo
Daily download trend is not available in this view yet.
19430 days
49690 days
2.3K1 year
Compare downloads with other packages →
Also on63 r2u13 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.1.0
Imports (4)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 1,532 (69%)Rd 677 (31%)
Code characteristics
Object systems
S32
Cyclomatic complexity
3.0 median / 8 max
Test cases
1 / 0.23 per code line
Documented parameters
100%

Test coverage

Line coverage

82%

Expression

81.2%

Tests / Examples

81.6% / 2% ex

Functions

22 12 exported

Complexity

3.5 avg / 8 max

Call network

22 nodes / 20 edges

Loading call graph…

Lowest coverage

22 functions
FunctionCycloCoverage
cronbach_alpha_enum exp80%
summary.CronbachAlphaResult760%
cronbachs_alpha exp377%
display_all exp479%
cronbach_alpha_rough exp684%
qp_solver_DEoptim exp287%

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0Latest
    2025-10-29 · current release · diff ↗
  • 0.1.0
    2025-09-09
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-09-09
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.1.0
Bundled data
0.7 KB / 2 files
Download size
19 KB
Installed size
not tracked yet
With dependencies
not tracked yet