NEWS
PPMiss 0.2.0
New features
- Added
theta.fit() to estimate copula parameters across contiguous or
arbitrary lags.
- Added
lags argument to d.fit() and theta.fit() to allow estimation over
arbitrary (possibly non-contiguous) lag grids while preserving s and m
for backward compatibility.
- Added
na.action = c("omit", "approx") to d.fit() and theta.fit() so
lags with no complete pairs or failed copula fits emit a warning and are
either omitted from the objective function ("omit", default) or linearly
interpolated over lags ("approx").
- Added
thetas (to reuse precomputed copula parameter estimates) and
full.output arguments to d.fit().
Bug fixes
- Fixed
d.fit() not forwarding empirical to .d_hat().
- Fixed pseudo-observation calculation in
.theta_hat() when
empirical = FALSE and missing values (NA) are present.
- Prevented matrix dimension collapse in
.theta_hat() when a single complete
pair remains (drop = FALSE) and wrapped copula::fitCopula() in try() so
failed fits are handled gracefully.
- Fixed Fortran routine
coefs (src/cks.f90): replaced non-standard
real (8) with double precision, fixed q == 0. comparison, guarded
against out-of-bounds indexing when trunc < length(ar), used dble() in
divisions, and removed tab characters.
- Disabled dynamic symbol lookup (
R_useDynamicSymbols(info, FALSE)) in
src/PPMiss_init.c and added PACKAGE = "PPMiss" in .Fortran("coefs", ...).
Improvements
- Added explicit input validation helpers (
R/validation.R) for d.fit(),
theta.fit(), arfima.coefs(), kdens(), and k1fun().
- Standardized code formatting across
R/.
- Updated documentation, references (Pumi et al., 2024), examples, added an
introductory vignette (
vignette("PPMiss")), and moved NEWS.md to the
package root.
PPMiss 0.1.2 (2026-02-18)
- Minor revision.
- Fixed a multiplying constant in
d.fit().
- Fixed the format in the arXiv reference.
PPMiss 0.1.1 (2023-09-04)
- Minor revision.
- Added the
"_PACKAGE" special sentinel to address @docType package no
longer automatically adding a -package alias.
PPMiss 0.1.0 (2023-03-19)
- First CRAN release (submitted 2023-03-17).