Replace the unweighted mean of subgroup proportions with the pooled binomial estimator in cchart.p().
Replace the unweighted mean of subgroup rates with the pooled Poisson estimator in cchart.u().
Correct standardized p and u charts so standardized statistics are not divided by subgroup size a second time.
Audit the Cornish-Fisher p-chart implementation against the operational formulas and published numerical examples.
Derive and validate CF1 and CF2 u-chart limits from Poisson cumulants.
Correct the DS-np limit search so every candidate second-stage threshold is evaluated independently.
Harden DS-np decision regions, probability calculations, ARL, ASS, and plotting.
Scientific validation
Reproduce published p-chart false-alarm examples from Joekes and Barbosa (2013).
Reproduce published DS-np ARL and ASS values from Joekes, Smrekar, and Barbosa (2015).
Reproduce published generalized variance limits for dimensions two and three.
Add independent numerical oracles for discrete DS-np probabilities and exact dimension-two generalized variance risk.
Add property tests for tr(V), including its exact chi-square distribution, false-alarm risk, RNG preservation, linear-transformation invariance, and a same-determinant covariance change that is visible to the trace statistic.
Add regression tests for scaling, monotonicity, boundary cases, invalid inputs, random-number-state preservation, and legacy aliases.
Documentation
Add package vignettes on IQCC positioning, high-quality processes, and the statistical foundations of the audited methods.
Add paper/statistical-foundations.md as article-oriented technical source material.
Expand the README with scientific positioning, implemented methods, references, and development roadmap.
Add documentation for all new public functions and S3 plotting methods.
Engineering and infrastructure
Add GitHub Actions workflows for R CMD check, pkgdown, and test coverage.
Add Codecov reporting and README badge.
Expand automated tests substantially across legacy and new functionality.
Separate numerical kernels from chart construction and plotting where audited.
Improve input validation and replace silent string returns with errors.
Remove examples based on attach() from audited interfaces.
Compatibility
Preserve legacy p-chart aliases norm, CF, and std.
Preserve legacy u-chart aliases norm, CF, and std; historical CF maps to the two-term Cornish-Fisher formula.
Existing chart wrappers remain available while exposing new pure numerical APIs for reproducible calculations.
IQCC 0.7.1
Bug Fixes
Fix d3() operator precedence bug: d2[1] was always used instead of d2[i], producing wrong results when called with a vector of sample sizes (#2)
Fix stats() operator precedence bug: 1:m-1 evaluated as (1:m) - 1, producing index 0 on first iteration (affects all n=1 multivariate calculations)