gph: GPH estimator of fractional difference parameter d.

Description Usage Arguments Details References Examples

View source: R/McCloskey_Perron.R

Description

gph log-periodogram estimator of Geweke and Porter-Hudak (1983) (GPH) and Robinson (1995a) for memory parameter d.

Usage

1
gph(X, m, l = 1)

Arguments

X

vector of length T.

m

bandwith parameter specifying the number of Fourier frequencies. used for the estimation usually floor(1+T^delta), where 0<delta<1.

l

trimming parameter that determines with which Fourier frequency to start. Default value is l=1.

Details

add details here.

References

Robinson, P. M. (1995): Log-periodogram regression of time series with long range dependence. The Annals of Statistics, Vol. 23, No. 5, pp. 1048 - 1072.

Geweke, J. and Porter-Hudak, S. (1983): The estimation and application of long memory time series models. Journal of Time Series Analysis, 4, 221-238.

Examples

1
2
3
4
5
6
library(fracdiff)
T<-500
m<-floor(1+T^0.8)
d=0.4
series<-fracdiff.sim(n=T, d=d)$series
gph(X=series,m=m)

FunWithR/LongMemoryTS documentation built on June 9, 2018, 12:22 a.m.