lordifMultiverse
is an R package designed for detecting differential item functioning (DIF) using logistic regression in a multiverse analysis approach. This package allows the user to test various thresholds and criteria for DIF in a flexible and comprehensive manner.
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("cyplessen/lordifMultiverse")
Here's a basic example of how to use lordifMultiverse:
library(lordifMultiverse)
# Assuming 'items' is a dataframe of item responses and 'group' is a binary group variable
results <- lordif_multiverse(items = your_data, group = your_group_variable)
# Visualizing how many items were flagged by each method.
plot <- plot_lordif_multiverse(results)
For more detailed usage and examples, please refer to the vignettes:
browseVignettes(package = "lordifMultiverse")
- Perform logistic regression-based DIF detection.
- Use lordifWrapper function to test for DIF across multiple criteria and thresholds.
- Handle warnings gracefully during the DIF detection process.
- Offer verbose output for detailed analysis tracking.
Contributions are welcome, and they are considered on a case-by-case basis. If you would like to contribute, please follow these steps:
- Fork the repository on GitHub.
- Create a new branch for your feature or fix.
- Commit your changes to the branch.
- Push your branch to GitHub.
- Submit a pull request to the lordifMultiverse repository.
Please note that by contributing, you agree that your contributions will be licensed under its MIT License.
This package is free and open-source software licensed under the MIT License.
This package was developed by Constantin Yves Plessen. Special thanks to contributors and users who have offered valuable feedback and suggestions.
If you have any questions or feedback, please open an issue on the GitHub repository.