This file records user-facing and developer-facing changes for fitPS. It is a release-note summary, not a commit-by-commit history.
devtools::build() output obscured the returned archive
path.modelToUnconstrained(),
modelFromUnconstrained(), and
modelLogJacobian() so the API states its mathematical
purpose directly.modelToWorking(),
modelFromWorking(), and
modelWorkingLogJacobian() names rather than retaining
compatibility aliases.basics,
model-comparison, uncertainty, and
extending, while removing the redundant
simple_P_fit vignette..gitignore and .Rbuildignore rules
for transient LaTeX, knitr, and rmarkdown files created while rendering
vignettes.fit() API.fit() model-descriptor API rather than deprecated
distribution-specific fitting wrappers.psData methods and operations
into R/psData-methods.R without changing their interfaces
or calculations.psFit fitted, log-likelihood, print,
and summary methods into R/psFit-methods.R.cubature::hcubature() integration over
model-supplied natural-scale bounds.devtools::test() so the package and test helpers are loaded
before the full suite runs.cubature as a package import for core
two-dimensional numerical integration and kept Laplace and importance as
secondary existing capabilities.stats::setNames roxygen import
required by the generic numerical engine.Repaired the Stage 9.1 version formatter, which had recycled the build component and produced an invalid six-part version; build 001 remains consumed by that attempted stage.
Audited the Bayesian architecture for external model extensibility and defined the minimum public model contract needed for fitPS-owned posterior engines.
Identified model-specific posterior fitting dispatch, scalar prior assumptions, and built-in parameter transformations as the main barriers to third-party Bayesian models.
Recorded a staged implementation path beginning with public prior, Bayesian-control, and parameter-transformation methods, followed by generic MCMC proof models.
No installed package behaviour changed; package validation was intentionally skipped because this stage changes only development audit documentation.
mu and sigma, with
model-specific mathematics and S3 registration confined to test helper
code.R/;
Stage 8.4 therefore tests the Stage 8.3 public API without extending
fitPS internals.psModel() constructor and
exported the minimal S3 generics needed for third-party model
extensions.modelMleControl() overrides for more demanding models.fit() entry point for built-in
zeta, zero-inflated zeta, and logarithmic model objects.fit() method dispatch so its default
method vector is resolved to the scalar mle choice before
delegation to model-specific fitters.vapply() do not cause a false failure when the
fitted model identifiers are otherwise identical.psFit objects retain their originating model
descriptor while preserving the established character model
identifier.Added posteriorInflation() for Pr(pi < epsilon | data) under Bayesian zero-inflated zeta fits.
Implemented the practical-inflation probability consistently for numerical, MCMC, importance, and Laplace posterior engines.
Added inflationEpsilon to summary.psPosterior(), defaulting to 0.01, and report the resulting practical-negligibility probability.
Replaced the vignette inflation discussion with an epsilon-based interpretation using the Roux footwear example and epsilon = 0.01.
Documented that epsilon is application-specific and that the diagnostic differs from assigning posterior mass to the exact no-inflation model.
Added deterministic engine-specific tests and a Roux numerical-posterior regression test.
Validated through the full fitPS documentation, test, check, vignette, build, and installation workflow. ## fitPS 1.0.7.016
Corrected the Roux vignette description to identify the response as the number of different glass sources found on each surveyed pair of shoes.
Added posterior interpretation of the zero/one-inflation parameter, including the distinction between concentration near zero and formal posterior probability of a no-inflation model.
Added the Efron bootstrap/Bayesian connection to the bootstrap discussion while preserving the distinct inferential interpretations.
Added future-development context for Rubin’s Bayesian bootstrap, centred on weighted-likelihood support and a possible psBayesianBootstrap object.
Added long-term architecture context for distribution-pluggable fitPS models and evaluation of the distributional package as a possible distribution representation layer.
Validated through the full fitPS documentation, test, check, vignette, build, and installation workflow. ## fitPS 1.0.7.015
Added a dedicated Bayesian and bootstrap probability vignette using the real Roux et al. footwear survey supplied with fitPS.
Documented plug-in, bootstrap-mean, and posterior-mean P probabilities and their distinct frequentist and Bayesian interpretations.
Documented the numerical, MCMC, Laplace, and importance posterior engines, including priors, importance weighting, and Laplace simulation for derived probabilities.
Added Roux-based README examples for posteriorProbs(), bootstrapProbs(), fitted(), plotting, and bootstrapFit().
Expanded Bayesian probability help and fitZIDist() cross-references to the public uncertainty APIs.
Added an end-to-end real-data regression test covering MLE, numerical Bayesian, bootstrap, fitted probabilities, interval bounds, and legacy probfun() behaviour.
Added the Stage 5.11 final regression audit documenting completed interfaces and optional future cleanup only.
Validated through roxygen, strict offline tests, strict package check, vignette build, source build, and installation. ## fitPS 1.0.7.014
Harmonised predict.psFit() across plug-in, posterior-mean, and bootstrap-mean probability definitions while preserving plug-in predictions as the default.
Added equal-tailed credible prediction intervals for stored posterior summaries and percentile confidence intervals for stored bootstrap summaries.
Required posterior and bootstrap interval levels to match the level stored in the corresponding uncertainty object, avoiding unsupported implicit recomputation.
Updated print.psFit() to route fitted probabilities through fitted(), fixing the legacy long-output path that could ignore zero inflation.
Added concise posterior and bootstrap printing with optional nterms selection and bootstrap-aware psFit summaries.
Clarified that probfun() evaluates plug-in probabilities and directs users to posteriorProbs() or bootstrapProbs() for uncertainty-distribution means.
Added deterministic offline regression tests for prediction semantics, intervals, term selection, printing, and summary presentation.
Validated through roxygen, strict offline tests, and strict package check. ## fitPS 1.0.7.012
Added bootstrapFit() as the public entry point for attaching a psBootstrap distribution to an MLE fit.
Added bootstrapProbs() methods for psFit and psBootstrap objects with the same P/S term selection rules as posteriorProbs().
Added fitted(…, type = “bootstrapMean”) while preserving plug-in fitted probabilities as the default.
Added plot.psBootstrap() for bootstrap mean probabilities and percentile confidence intervals.
Kept Bayesian posteriorMean fitted values and all existing frequentist defaults unchanged.
Added deterministic offline API, indexing, fitted-value, plotting, and validation tests.
Validated through roxygen, strict offline tests, and strict package check. ## fitPS 1.0.7.011
Added an internal psBootstrap S3 object for frequentist bootstrap parameter and P/S probability distributions.
Added a reusable nonparametric bootstrap replicate engine with seeded reproducibility and failed-fit diagnostics.
Added bootstrap mean, standard deviation, and percentile confidence intervals for parameter and probability replicates.
Reused the existing zero-inflated probability transformation and added the matching standard-zeta P/S transformation.
Kept bootCI() return structures backward compatible while routing its replicate generation through the shared engine.
Added deterministic offline tests for zeta and zero-inflated bootstrap summaries, reproducibility, failures, and legacy bootFit() shapes.
Validated through roxygen, strict offline tests, and strict package check. ## fitPS 1.0.7.009
Added the Stage 5.7 planning audit for bootstrap distributions of fitted P and S probabilities.
Recommended a psBootstrap S3 object that parallels psPosterior while preserving the distinct frequentist interpretation.
Documented reuse of retained bootstrap parameter replicates, zizProbabilities(), percentile probability intervals, failure diagnostics, and seeded serial reproducibility.
Preserved bootCI() return values and ordinary plug-in fitted probabilities as compatibility constraints for the implementation stages.
Planned Stages 5.8-5.11 for bootstrap objects, public bootstrap probability APIs, harmonised prediction, and final documentation.
Added plot.psPosterior() for posterior mean P or S probabilities with equal-tailed credible intervals.
Supported plotting all stored terms, leading terms, or explicitly selected P and S indices through posteriorProbs().
Kept plot.psFit() and plotPosterior() behaviour unchanged for backward compatibility.
Added deterministic offline plotting tests for P and S posterior objects and interval suppression.
Validated through roxygen, strict offline tests, and strict package check. ## fitPS 1.0.7.007
Exported posteriorProbs() for Bayesian psFit and psPosterior objects.
Added consistent selection of leading or explicitly indexed P and S posterior probability summaries.
Extended fitted.psFit() with type = “posteriorMean” while preserving plug-in probabilities as the default.
Kept posterior probability access unavailable for frequentist fits with clear errors.
Added deterministic offline tests for S3 dispatch, subset selection, fitted-value semantics, and compatibility.
Validated through roxygen, strict offline tests, and strict package check. ## fitPS 1.0.7.006
Added the psPosterior S3 class as the coherent posterior component of Bayesian psFit objects.
Stored parameter summaries, posterior probability summaries, engine-specific representations, interval level, and diagnostics under fit$posterior.
Preserved chain, posteriorGrid, weightedSamples, laplace, importance, and posteriorProbs fields for backward compatibility.
Added print, summary, and fitted methods for psPosterior objects and delegated Bayesian psFit summaries to the posterior object.
Corrected the Stage 5.3 tests by comparing probability estimates without incidental names and by using valid compact S-survey data.
Validated through roxygen, strict offline tests, and strict package check. ## fitPS 1.0.7.004
Repaired the existing parallel import documentation in bootCI so every @importFrom tag occupies one physical line.
Removed the roxygen warning reported during Stage 5.2 documentation regeneration without changing package behaviour.
Scanned the remaining R sources and found no other wrapped @importFrom continuation lines.
Validated through roxygen, strict offline tests, and strict package check. ## fitPS 1.0.7.003
Added one shared internal transformation from zero-inflated zeta parameters to requested P or S probabilities.
Used the package standard zeta shape parameterisation and supported vectorised posterior parameter values.
Added deterministic tests for P and S formulas, names, validation, scalar recycling, and probability-mass truncation.
Removed and ignored generated Rplots.pdf test artifacts.
Corrected stage-runner source-package path capture so build console output cannot be mistaken for a filename.
Validated through roxygen, strict offline tests, and strict package check. ## fitPS 1.0.7.002
Repaired the zero-inflated zeta Metropolis-Hastings sampler so each component update evaluates only the current state and its proposed component.
Implemented the beta-prior and independence-proposal cancellation explicitly for pi updates and used the selected psPrior for shape updates.
Preserved legacy a/b shape-prior bounds when no explicit prior is supplied and added seeded reproducibility support.
Added non-uniform Beta(2, 5) tests comparing MCMC posterior means and variances with deterministic numerical integration.
Updated the stage runner delivery to use a single outer bundle with an exact sibling change-set and optional ChatGPT bundle creation.
Validated through roxygen, strict offline tests, and strict package check. ## fitPS 1.0.6.013
Rationalise the Bayesian fitting API around method = “bayes” and bayesOptions$posteriorMethod.
Add deprecated legacy aliases for numerical integration, MCMC, Laplace, and importance posterior methods.
Preserve compatibility by translating legacy Bayesian method values into canonical bayesOptions.
Add tests for Bayesian method alias translation and default option handling.
Validated by the Stage 4.6.1.1 full package runner.
git add failures and leaving new files untracked.plotPosterior() for posterior-density plots from
Bayesian psFit objects.shape and
pi.plot.psFit() fitted-probability plots
unchanged for backward compatibility.psFit objects rather than long MCMC runs.R CMD check NOTE under dev/.1.0.5.xxx build convention,
including one consumed build number per attempt.dev/.plotPosterior() API for
posterior parameter-density plots while preserving
plot.psFit() for fitted probabilities.1.0.5.xxx
build convention..Rnw files to R Markdown .Rmd files.rmarkdown to Suggests for the R
Markdown vignette builder.Updated documentation so shape consistently refers
to the standard zeta parameter alpha with
shape > 1.
Removed obsolete VGAM-shifted wording from fitDist()
and fitZIDist() help text.
Documented that the default Bayesian prior is placed on
log(shape - 1), giving support only on valid standard-shape
values.
Added README guidance for users who compare fitPS results with VGAM zeta functions.
Validated by the strict fitPS stage workflow. ## fitPS 1.0.4.014
Refactored zeta and zero-inflated zeta workflows so fitPS
shape means the standard zeta parameter alpha with
shape > 1.
Converted to VGAM’s shifted parameter only at VGAM boundaries
using shape - 1.
Added active regression tests for fitting, probability functions, prediction, fitted values, and random generation under the standard-shape convention.
Validated by the strict fitPS stage workflow.
tests/testthat because they intentionally fail before the
Stage 2.2 refactor.dev/ so
Stage 2.2 can reinstate them with the implementation repair..gitignore to exclude the fitPS built-package
path marker produced by stage runners.testthat infrastructure for core
psData and psFit workflows.logLik.psFit().fitDist() prior argument and adding required
stats imports.fitDist() and
fitZIDist() while preserving backward-compatible
shape aliases.pi component.