The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
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.
Install the released version from CRAN:
install.packages("PPMiss")Or install the development version from GitHub:
# install.packages("remotes")
remotes::install_github("tsprass/PPMiss")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$thetasd.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.gauss /
dCtheta_gauss, frank /
dCtheta_frank, amh / dCtheta_amh,
fgm / dCtheta_fgm.GPL (>= 3)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.