Copula-Based Estimator for Long-Range Dependent Processes under Missing Data

Implements the copula-based estimator for univariate long-range dependent processes introduced in Pumi et al. (2024) . The estimator handles missing data and gaps directly without requiring prior imputation, and has been shown to perform well even when up to 70% of observations are missing (as reported in Pumi et al., 2023 ), outperforming several commonly applied estimators.


PPMiss

R-CMD-check

PPMiss implements the copula-based estimator for univariate long-range dependent processes introduced in Pumi, Prass, and Lopes (2024). The estimator leverages the relationship between a process's covariance decay and parametric bivariate copulas associated with lagged variables, handling missing data and gaps directly without requiring prior imputation.

Installation

Install the released version from CRAN:

install.packages("PPMiss")

Or install the development version from GitHub:

# install.packages("remotes")
remotes::install_github("tsprass/PPMiss")

Example

library(PPMiss)

# Simulate an ARFIMA(0, 0.25, 0) series
set.seed(123)
trunc <- 5000
n <- 1000
cks <- arfima.coefs(d = 0.25, trunc = trunc)
eps <- rnorm(trunc + n)
x <- sapply(1:n, function(t) sum(cks * rev(eps[t:(t + trunc)])))

# Introduce 20% missing observations
xt <- x
xt[sample(1:n, size = round(0.2 * n))] <- NA

# Estimate d using contiguous lags (default s = 1, m = 24)
d.fit(xt = xt, copula = gauss, dCdtheta = dCtheta_gauss)

# Estimate copula parameters and d on arbitrary lags
th <- theta.fit(xt = xt, lags = c(1, 2, 5, 10, 20))
th
d.fit(xt = xt, thetas = th)

# Or obtain d, thetas, lags, and K1 in a single call
res <- d.fit(xt = xt, lags = c(1, 2, 5, 10, 20), full.output = TRUE)
res$d
res$thetas

Main functions

  • d.fit(): estimates the long memory parameter $d$ from a time series (with or without NAs) over contiguous (s:m) or arbitrary lags.
  • theta.fit(): estimates the bivariate copula parameters $\theta_h$ across contiguous or arbitrary lags.
  • k1fun() and kdens(): estimate the constant $K_1$ and marginal density via kernel density + cubic spline interpolation.
  • arfima.coefs(): computes the infinite-order MA coefficients of an $\mathrm{ARFIMA}(p, d, q)$ model via Fortran.
  • Built-in copulas and derivative limits: gauss / dCtheta_gauss, frank / dCtheta_frank, amh / dCtheta_amh, fgm / dCtheta_fgm.

References

  • Pumi, G., Prass, T. S., & Lopes, S. R. C. (2024). A novel copula-based approach for parametric estimation of univariate time series through its covariance decay. Statistical Papers, 65(2), 1041–1063. https://doi.org/10.1007/s00362-023-01418-z
  • Pumi, G., Choque Ulloa, G., & Prass, T. S. (2023). Estimation of long-range dependent models with missing data: to impute or not to impute? arXiv preprint. https://doi.org/10.48550/arXiv.2303.04754

License

GPL (>= 3)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("PPMiss")

0.2.0 by Taiane Schaedler Prass, 9 days ago


https://github.com/tsprass/PPMiss


Report a bug at https://github.com/tsprass/PPMiss/issues


Browse source code at https://github.com/cran/PPMiss


Authors: Taiane Schaedler Prass [aut, cre, com] (ORCID: , Guilherme Pumi [aut, ctb] (ORCID:


Documentation:   PDF Manual  


GPL (>= 3) license


Imports copula, pracma, stats, zoo

Suggests knitr, rmarkdown, testthat


See at CRAN