by_extension_3.R and contourplot_by3.R scripts to support the by3 extension procedure for key gsed2510
gsed2510
gsed2510.gs1 and gl1 instrument codes for GSED SF and LF, respectivelycalculate_DIF_classification() and calculate_DIF_table() from gsedscripts (0.27.0) to dfine package (0.13.0)build_database_fixed.R from gsedread to gsedscripts packageAdds reporting outline Rmd/coremodel_aug25.Rmd to document the reporting process for the GSED key
Adds many scripts to inst/scripts/phase2 directory to help fitting the new phase_1+2 models
Removes DUCKDB_LOCAL system variable from all scripts
All scripts depends now only on system variables GSED_PHASE1 and GSED_PHASE2
Adds calculate_DIF_classification() to test for DIF by phase and country
Extend scripts plot_pass_age.R and plot_pass_dscore.R with BSID and apply system variables GSED_PHASE1 and GSED_PHASE2
Adds generic script phase2/fit_core_model.R which replaces 293_phase1_long.R, 293_phase2_wide.R
Updates the following phase2 scripts:
Adds starting phase2 scripts:
plot_pass_age.R293_phase1_long.R293_phase2_wide.RThese scripts replace the private dmetric package by the public dfine package.
The experimental lean2 class is no longer supported, and removed.
inst/scripts/models-phase1/293_0_test_phase1. This script refits the 293_0 model on phase 1 data using better duplicate removal, duckbd dataset, and removal of inter-rater scores.inst/scripts/models/818_6_enhancements.R, a further development of 818_6.R
inst/scripts/293_0_BSID_experimental.R, a script to explore a better linking method, using the BSID-III and the 293_0 model. Needs to be checked and - if OK - generalizedscripts/models/293_0.R to use DIF tabulation function and explore Yen’s Q3 method for exploring dimensionalityscripts/models/lf_155_0.R to feature newer functions and to compact codescripts/DIF_demo_2groups.R to shows how to use the difR package in the SMOCC data for testing 2-group DIF with MH and logistic regression methodscalculate_DIF_table() for testing DIFmake_wide() to provide more records for analysisupdate_required_packages() to automate modelling scriptsupdate_required_packages() to automate modelling scriptscalculate_administrative() for deriving standard administrative variablesmake_wide() to combine SF, LF and BSID data from the first observation period onto one record per childinst/scripts/compare_domain_taus_293.R to inspect the overlap between three streams of the LF a as way to informally inspect the uni-dimensionality of the LF. Used for the July 2024 version of the phase1 paper.inst/scripts/extract_equate_table.R to extract the equate table to compare keys gsed1912 and gsed2406. Used for the July 2024 version of the phase1 paper.Rmd/20240802_logit.Rmd to demonstrate that logit and D-score scales are consistent for LF and SF, but not for other instrumentsinst/script/models/by3_extension.R to link BSID-III under fixing SF/LF tau estimates to those in model 293_0, leading to consistent logit and D-score scale for BSID-IIIinst/scripts/counts.R and inst/scripts/293_0.R that takes only the first LF, SF and BSID before matching. As a result, each row corresponds to a unique subjid (child). This does not use all data, but is much easier to explain and report. The impact of the method on the item difficulty estimates is negligible (r > 0.99).inst/scripts/fit_phase1_healthy_references.R to calculate new healthy references for the GSED keyinst/scripts/fit_phase1_dutch_references.R
inst/scripts/fit_models.R a refit using dscore 1.8.8
inst/scripts/compare_algorithm.R to compare models “20221201_remodel/293_0” and “20240601/293_0” using dscore 1.8.8
inst/scripts/compare_models.R to compare models “20221201_remodel/293_0” and “20240601/293_0” using the dscore 1.8.8
inst/scripts/fit_phase1_references.R with calculation of the healthy subsample references from the GSED keyinst/scripts/fit_phase1_references.R with calculation of the Dutch references from the GSED keyassemble_data.R and edit_data.R