Package: achieveGap 0.1.0

achieveGap: Modeling Achievement Gap Trajectories with Hierarchical Penalized Splines

Implements a hierarchical penalized spline framework for estimating achievement gap trajectories in longitudinal educational data. The achievement gap between two groups (e.g., low versus high socioeconomic status) is modeled directly as a smooth function of grade while the baseline trajectory is estimated simultaneously within a mixed-effects model. Smoothing parameters are selected using restricted maximum likelihood (REML), and simultaneous confidence bands with correct joint coverage are constructed using posterior simulation. The package also includes functions for simulation-based benchmarking, visualization of gap trajectories, and hypothesis testing for global and grade-specific differences. The modeling framework builds on penalized spline methods (Eilers and Marx, 1996, <doi:10.1214/ss/1038425655>) and generalized additive modeling approaches (Wood, 2017, <doi:10.1201/9781315370279>), with uncertainty quantification following Marra and Wood (2012, <doi:10.1111/j.1467-9469.2011.00760.x>).

Authors:Subir Hait [aut, cre]

achieveGap_0.1.0.tar.gz
achieveGap_0.1.0.zip(r-4.7)achieveGap_0.1.0.zip(r-4.6)achieveGap_0.1.0.zip(r-4.5)
achieveGap_0.1.0.tgz(r-4.6-any)achieveGap_0.1.0.tgz(r-4.5-any)
achieveGap_0.1.0.tar.gz(r-4.7-any)achieveGap_0.1.0.tar.gz(r-4.6-any)
achieveGap_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
achieveGap/json (API)
NEWS

# Install 'achieveGap' in R:
install.packages('achieveGap', repos = c('https://causalfragility-lab.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/causalfragility-lab/achievegap/issues

On CRAN:

Conda:

4.00 score 556 downloads 7 exports 31 dependencies

Last updated from:026b8d2b50. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK161
source / vignettesOK204
linux-release-x86_64OK160
macos-release-arm64OK112
macos-oldrel-arm64OK116
windows-develOK116
windows-releaseOK103
windows-oldrelOK103
wasm-releaseOK106

Exports:achieve_gapfit_separategap_trajectoryrun_simulationsimulate_gapsummarize_simulationtest_gap

Dependencies:bootclicpp11farverggplot2gluegtableisobandlabelinglatticelifecyclelme4MASSMatrixmgcvminqanlmenloptrR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangS7scalesvctrsviridisLitewithr

Getting Started with achieveGap

Rendered fromachieveGap-intro.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-03-14
Started: 2026-03-14