
GLMBasedRaschEstimation is an R package developed for educational psychologists and psychometricians. It provides a robust framework for estimating Rasch Model parameters using Generalized Linear Models (GLM). By leveraging the logistic link function within the GLM framework, this package offers an accessible yet mathematically rigorous alternative to specialized IRT software (like BILOG-MG or MINISTEP) for binary response data.
Data Preprocessing: Automated cleaning and sorting of binary response matrices.
GLM Estimation: Item parameter estimation (Difficulty and Slope) using stats::glm.
Rasch Logit Transformation: Conversion of predicted probabilities into Logit units for individual ability estimation.
Visualization: High-quality Item Characteristic Curves (ICC) and Rasch difficulty plots.
Ordered Reporting: Extraction of item difficulty parameters in the original sequence of the test items.
Install the development version from GitHub: Installation
You can install the development version of GLMBasedRaschEstimation from GitHub with:
devtools::install_github("DrAhmedSamir/GLMBasedRaschEstimation")
The following example demonstrates how to use the package for conducting a basic Rasch analysis on binary data: library(GLMBasedRaschEstimation)
prepared <- prepare_data(my_data)
results <- fit_binary_irt(prepared$matrix, prepared$total_score)
probs <- compute_Modified_probabilities(results, prepared$total_score) logits <- rasch_logit(probs)
item_diffs <- extract_rasch_difficulties_ordered(logits) print(item_diffs)
plot_rasch_curves(probs, logits)
plot_item_curves(prepared$total_score, probs, results)
If you use this package in your research, please cite it as:
Megahed, A. S., Khalaf, M. A., & Mougy, I. M. (2026). GLMBasedRaschEstimation: An R package for estimating Rasch Model parameters using Generalized Linear Models (Version 0.1.0). Zenodo. https://doi.org/10.5281/zenodo.19600428
Dr. Ahmed Samir Megahed (Maintainer) Assistant Professor of Educational Psychology, Faculty of Education, Zagazig University, Egypt.
Dr. Mustafa Ali Khalaf Associate Professor Department of Psychology, College of Education Sultan Qaboos University, Muscat, Oman.
Dr. Ibraheem Mohamed Mougy Lecturer Department of Psychology College of Education Zagazig University Egypt.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.