Skip to contents

Fitting and GoF Test

Fit a simplex regression model and run the bootstrap test.

simplex_fit()
Fit a Simplex Regression Model
simplex_gof()
Bootstrap-Calibrated Goodness-of-Fit Test for Simplex Regression
simplex_diag()
Compute Local-Influence GoF Diagnostic Quantities
simplex_Un_asymptotic()
Asymptotic \(U_n\) Statistic (Finite-Difference Calibration)

Visualisation

Reproduce figures from the paper.

plot_influence()
Influence Index Plot
plot_envelope()
Half-Normal Probability Plot with Simulated Envelope
plot_gof_boot()
Plot Bootstrap Distribution of the \(U_n\) Statistic
plot(<simplexfit>)
Diagnostic Plots for a Fitted Simplex Regression Model
plot(<simplexgof>)
Plots for a Bootstrap Goodness-of-Fit Test Result

Paper Reproduction

One-call functions that reproduce all paper results.

paper_ammonia()
Reproduce Ammonia Application (Paper Section 7.1)
paper_pbsc()
Reproduce PBSC Application (Paper Section 7.2)
paper_fig1()
Reproduce Figure 1: Null Distribution of \(U_n\)

Simulation

Monte Carlo size and power study (Table 2 of the paper).

sim_table1()
Monte Carlo Size/Power Simulation for the Bootstrap U_n Test
rsimplex()
Generate Random Observations from the Simplex Distribution

Datasets

ammonia
Ammonia Oxidation Data (Brownlee, 1965)
pbsc
Peripheral Blood Stem Cell (PBSC) Transplant Data

Package

simplexgof simplexgof-package
simplexgof: Bootstrap GoF Test for Simplex Regression