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:
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
Last updated from:026b8d2b50. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 161 | ||
| source / vignettes | OK | 204 | ||
| linux-release-x86_64 | OK | 160 | ||
| macos-release-arm64 | OK | 112 | ||
| macos-oldrel-arm64 | OK | 116 | ||
| windows-devel | OK | 116 | ||
| windows-release | OK | 103 | ||
| windows-oldrel | OK | 103 | ||
| wasm-release | OK | 106 |
Exports:achieve_gapfit_separategap_trajectoryrun_simulationsimulate_gapsummarize_simulationtest_gap
Dependencies:bootclicpp11farverggplot2gluegtableisobandlabelinglatticelifecyclelme4MASSMatrixmgcvminqanlmenloptrR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangS7scalesvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Fit an achievement gap trajectory model (formula interface) | achieve_gap |
| achieveGap: Modeling Achievement Gap Trajectories Using Hierarchical Penalized Splines | achieveGap-package achieveGap |
| Fit Separate Spline Models per Group and Compute Post Hoc Gap | fit_separate |
| Fit a Hierarchical Penalized Spline Model for Achievement Gap Trajectories | gap_trajectory |
| Plot Method for achieveGap Objects | plot.achieveGap |
| Print Method for achieveGap Objects | print.achieveGap |
| Run a Benchmark Simulation Study | run_simulation |
| Simulate Achievement Gap Data | simulate_gap |
| Summarize Simulation Study Results | summarize_simulation |
| Summary Method for achieveGap Objects | summary.achieveGap |
| Hypothesis Tests for Achievement Gap Trajectories | test_gap |
