This repository contains the code to to reproduce the results in "A Neural Network Paradigm for Modeling Psychometric Data and Estimating IRT Model Parameters: Cross Estimation Network" by Longfei Zhang and Ping Chen, which is published in Behavior Research Methods.
DOI https://doi.org/10.3758/s13428-024-02406-3
The core code for implementing the CEN approach resides in src/models/cen.py.
To begin, run the generator.py script located in the src/data folder to generate the response data sets that are going to be used in the simulation studies.
python3 generator.pyNext, run the following scripts in the src/runners folder to conduct the four simulation studies to evaluate the performance of CEN in different scenarios.
python3 run_sim1.pypython3 run_sim2.pypython3 run_sim3.pypython3 run_suppl_sim.pyTo conduct the empirical study, use the following code:
python3 run_emp.pyAdditionally, visualize the trained PN and IN models with the script below.
python3 vis_cen.pyWe are indebted to the editors and reviewers of Behavior Research Methods for their invaluable time and effort devoted to enhancing the quality of this work. Their insightful feedback and constructive comments have greatly contributed to the refinement of our manuscript.
Please feel free to email Longfei Zhang with any questions or comments.