Learn R Programming

locits (version 1.7.7)

Test of Stationarity and Localized Autocovariance

Description

Provides test of second-order stationarity for time series (for dyadic and arbitrary-n length data). Provides localized autocovariance, with confidence intervals, for locally stationary (nonstationary) time series. See Nason, G P (2013) "A test for second-order stationarity and approximate confidence intervals for localized autocovariance for locally stationary time series." Journal of the Royal Statistical Society, Series B, 75, 879-904. .

Copy Link

Version

Install

install.packages('locits')

Monthly Downloads

325

Version

1.7.7

License

GPL (>= 2)

Maintainer

Last Published

September 5th, 2023

Functions in locits (1.7.7)

plot.hwtANYN

Plots the transform contained in an hwtANYN object.
locits-package

New test of second-order stationarity and confidence intervals for localized autocovariance.
idlastzero

Return the index of the last zero in a vector
hwtos

Haar wavelet test for (second-order) stationarity for arbitrary length time series.
lacf

Compute localized autocovariance.
mkcoef

Compute discrete wavelets.
hwtos2

Test of second-order stationarity using wavelets.
littlevar

Subsidiary helper function for hwtos2
getridofendNA

Replaces all NAs in vector by 0
hwt

Compute a Haar wavelet transform for data of arbitrary n length
print.lacfCI

Print basic information about a lacfCI object.
plot.lacf

Plot localized autocovariance (lacf) object.
plot.tos

Produces a graphical representation of the results of a test of stationarity contained in a tos object.
print.hwtANYN

Print out a hwtANYN class object, eg from the link{hwt} function.
runmean

Compute a running mean of a vector
print.tosANYN

Print out a tosANYN class object, eg from the link{hwtos} function.
plot.lacfCI

Plot confidence intervals for localized autocovariance for locally stationary time series.
print.tos

Print out a tos class object, eg from the link{hwtos2} function.
print.lacf

Print lacf class object
plot.tosANYN

Produces a graphical representation of the results of a test of stationarity from a tosANYN object.
summary.lacfCI

Produce a brief summary of the contents of a lacfCI object
varip2

Direct computation of estimate of variance of v_ip, the Haar wavelet coefficients of the periodogram.
zeropad

Intersperse zeroes in a vector.
summary.tos

Summarize the results of a test of stationarity contained i a tos object.
whichlevel

Helper routine for mkcoef
tvar1sim

Simulate a realization from a particular TVAR(1) model.
summary.hwtANYN

Summarize the results of a Haar wavelet transform object computed from an arbitrary length vector.
summary.tosANYN

Summarize the results of a test of stationarity contained in an tosANYN class object.
summary.lacf

Summarizes a lacf object
EstBetaCov

Compute estimate of wavelet periodogram and the estimate's covariance matrix.
ewspec3

Compute evolutionary wavelet spectrum of a time series.
HwdS

Compute the non-decimated Haar wavelet transform without using periodic boundary conditions.
covI

Compute the covariance between two wavelet periodogram ordinates at the same scale, but different time locations.
covIwrap

A wrapper for the covI function.
ewspecHaarNonPer

Compute evolutionary wavelet spectrum (EWS) estimate based on the Haar wavelet transform.
Rvarlacf

Compute confidence intervals for localized autocovariance for locally stationary time series.
StoreStatistics

Interogates calculation store to see how well we are reusing previous calculations (debugging)
AutoBestBW

Choose a good bandwidth for running mean smoothing of a EWS spectral estimator.
Cvarip2

Computes variance of Haar wavelet coefficients of wavelet periodogram using C code.