Learn R Programming

missalpha (version 0.2.0)

Find Range of Cronbach Alpha with a Dataset Including Missing Data

Description

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 ) is one of the most widely used measures of internal consistency in the social, behavioral, and medical sciences (Bland & Altman, 1997 ; Tavakol & Dennick, 2011 ). 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 ). 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.

Copy Link

Version

Install

install.packages('missalpha')

Monthly Downloads

137

Version

0.2.0

License

MIT + file LICENSE

Maintainer

Biying Zhou

Last Published

October 29th, 2025

Functions in missalpha (0.2.0)

cronbach_alpha_rough

Compute Rough Approximation of Cronbach's Alpha Bounds
qp_solver_nloptr

Solve Quadratic Programming Problem using nloptr
compute_alpha_max

Compute Maximum Possible Alpha Value
compute_alpha_min

Compute Minimum Possible Alpha Value
qp_solver_DEoptim

Solve Quadratic Programming Problem using DEoptim
qp_solver

General Solver for Quadratic Programming Problems
sample

Sample Dataset with Missing Values
cronbachs_alpha

Compute Lower and Upper Bound of Cronbach's Alpha
display_all

Display All Possible Parameter Combinations for Cronbach's Alpha
cronbach_alpha_enum

Compute Exact Bounds of Cronbach's Alpha via Enumeration
qp_solver_GA

Solve Quadratic Programming Problem using GA
examine_alpha_bound

Check Feasibility of Alpha Bound for Optimization Problem
generate_scores_mat_bernoulli

Generate Bernoulli Distributed Scores Matrix with Missing Values