Package: simplexgof 0.1.0

simplexgof: Bootstrap-Calibrated Goodness-of-Fit Test for Simplex Regression
Implements the bootstrap-calibrated local-influence goodness-of-fit test for simplex regression models with constant or varying dispersion, following the local influence approach of Zhu and Zhang (2004) <doi:10.1093/biomet/91.3.579> and the simplex regression model of Barndorff-Nielsen and Jorgensen (1991) <doi:10.1016/0047-259X(91)90008-P>. The test statistic aggregates individual local-influence measures under case-weight perturbation. Because the first-order asymptotic normal calibration is severely liberal in finite samples, a parametric bootstrap calibration is provided that restores accurate size control and delivers high power against omitted covariates, neglected dispersion, and distributional misspecification. Plotting functions reproduce the figures and tables of the companion methodological paper. Computational kernels are implemented in 'C++' via 'Rcpp' and 'RcppArmadillo' for speed, and two real datasets are bundled.
Authors:
simplexgof_0.1.0.tar.gz
simplexgof_0.1.0.tar.gz(r-4.7-arm64)simplexgof_0.1.0.tar.gz(r-4.7-x86_64)simplexgof_0.1.0.tar.gz(r-4.6-arm64)simplexgof_0.1.0.tar.gz(r-4.6-x86_64)
simplexgof_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
simplexgof/json (API)
NEWS
| # Install 'simplexgof' in R: |
| install.packages('simplexgof', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/raydonal/simplexgof/issues
Pkgdown/docs site:https://raydonal.github.io
Last updated from:4b541e5f13. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 125 | ||
| linux-devel-x86_64 | OK | 132 | ||
| source / vignettes | OK | 249 | ||
| linux-release-arm64 | OK | 124 | ||
| linux-release-x86_64 | OK | 125 | ||
| wasm-release | OK | 123 |
Exports:paper_ammoniapaper_fig1paper_pbscplot_envelopeplot_gof_bootplot_influencersimplexsim_table1simplex_diagsimplex_fitsimplex_gofsimplex_Un_asymptotic
Dependencies:RcppRcppArmadillo
Introduction to simplexgof
Rendered fromsimplexgof-intro.Rmdusingknitr::rmarkdownon Jun 19 2026.Last update: 2026-06-19
Started: 2026-06-19
Paper: ammonia application
Rendered frompaper-ammonia.Rmdusingknitr::rmarkdownon Jun 19 2026.Last update: 2026-06-19
Started: 2026-06-19
Paper: PBSC application
Rendered frompaper-pbsc.Rmdusingknitr::rmarkdownon Jun 19 2026.Last update: 2026-06-19
Started: 2026-06-19
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Ammonia Oxidation Data (Brownlee, 1965) | ammonia |
| Reproduce Ammonia Application (Paper Section 7.1) | paper_ammonia |
| Reproduce Figure 1: Null Distribution of U_n | paper_fig1 |
| Reproduce PBSC Application (Paper Section 7.2) | paper_pbsc |
| Peripheral Blood Stem Cell (PBSC) Transplant Data | pbsc |
| Half-Normal Probability Plot with Simulated Envelope | plot_envelope |
| Plot Bootstrap Distribution of the U_n Statistic | plot_gof_boot |
| Influence Index Plot | plot_influence |
| Diagnostic Plots for a Fitted Simplex Regression Model | plot.simplexfit |
| Plots for a Bootstrap Goodness-of-Fit Test Result | plot.simplexgof |
| Generate Random Observations from the Simplex Distribution | rsimplex |
| Monte Carlo Size/Power Simulation for the Bootstrap U_n Test | sim_table1 |
| Compute Local-Influence GoF Diagnostic Quantities | simplex_diag |
| Fit a Simplex Regression Model | simplex_fit |
| Bootstrap-Calibrated Goodness-of-Fit Test for Simplex Regression | simplex_gof |
| Asymptotic U_n Statistic (Finite-Difference Calibration) | simplex_Un_asymptotic |
