Package TSF. July 15, 2017

Similar documents
Package WaveletArima

Package SimSCRPiecewise

Package Tcomp. June 6, 2018

Package NonpModelCheck

Package face. January 19, 2018

Package tspi. August 7, 2017

Package CPE. R topics documented: February 19, 2015

Package BayesNI. February 19, 2015

Package elhmc. R topics documented: July 4, Type Package

Package LIStest. February 19, 2015

Package polypoly. R topics documented: May 27, 2017

Package gtheory. October 30, 2016

Package invgamma. May 7, 2017

Package rgabriel. February 20, 2015

Package MicroMacroMultilevel

Package SK. May 16, 2018

Package goftest. R topics documented: April 3, Type Package

Package unbalhaar. February 20, 2015

Package EnergyOnlineCPM

Package MultisiteMediation

Package clogitboost. R topics documented: December 21, 2015

Package RTransferEntropy

Package NlinTS. September 10, 2018

Package reinforcedpred

Package thief. R topics documented: January 24, Version 0.3 Title Temporal Hierarchical Forecasting

Package LPTime. March 3, 2015

Package bigtime. November 9, 2017

Package RootsExtremaInflections

Package TimeSeries.OBeu

Package eel. September 1, 2015

Package ADPF. September 13, 2017

Package REGARMA. R topics documented: October 1, Type Package. Title Regularized estimation of Lasso, adaptive lasso, elastic net and REGARMA

Package severity. February 20, 2015

Package mar. R topics documented: February 20, Title Multivariate AutoRegressive analysis Version Author S. M. Barbosa

Package ensemblepp. R topics documented: September 20, Title Ensemble Postprocessing Data Sets. Version

Package factorqr. R topics documented: February 19, 2015

Package HIMA. November 8, 2017

Package horseshoe. November 8, 2016

The kzft Package. April 4, kzft... 1 kzp... 3 kztp... 5 kzw Index 10. Kolmogorov-Zurbenko Fourier transform

Package gwqs. R topics documented: May 7, Type Package. Title Generalized Weighted Quantile Sum Regression. Version 1.1.0

Package sbgcop. May 29, 2018

Package emg. R topics documented: May 17, 2018

Package gsarima. February 20, 2015

Package bivariate. December 10, 2018

Package BNN. February 2, 2018

Package My.stepwise. June 29, 2017

Package ForecastCombinations

Package Grace. R topics documented: April 9, Type Package

Package nowcasting. April 25, Type Package

Package cvequality. March 31, 2018

Package ShrinkCovMat

Package Blendstat. February 21, 2018

Package FinCovRegularization

Package esreg. August 22, 2017

Package ltsbase. R topics documented: February 20, 2015

Package codadiags. February 19, 2015

Package asus. October 25, 2017

Package comparec. R topics documented: February 19, Type Package

Package scpdsi. November 18, 2018

Package OGI. December 20, 2017

Package FindAllRoots

Package matrixnormal

Package lsei. October 23, 2017

Package leiv. R topics documented: February 20, Version Type Package

Package ARCensReg. September 11, 2016

Package ChIPtest. July 20, 2016

Package gma. September 19, 2017

Package IndepTest. August 23, 2018

Package rnmf. February 20, 2015

Package darts. February 19, 2015

Package dhsic. R topics documented: July 27, 2017

Package EMVS. April 24, 2018

Package skellam. R topics documented: December 15, Version Date

Package NORMT3. February 19, 2015

Package depth.plot. December 20, 2015

Package TwoStepCLogit

Package jaccard. R topics documented: June 14, Type Package

Package MAPA. R topics documented: January 5, Type Package Title Multiple Aggregation Prediction Algorithm Version 2.0.4

Package MPkn. May 7, 2018

Package denseflmm. R topics documented: March 17, 2017

Package sscor. January 28, 2016

Package nardl. R topics documented: May 7, Type Package

Package testassay. November 29, 2016

Package RZigZag. April 30, 2018

Package varband. November 7, 2016

Package GD. January 12, 2018

Package R1magic. April 9, 2013

Package R1magic. August 29, 2016

Package jmcm. November 25, 2017

Package rarhsmm. March 20, 2018

Package TSPred. April 5, 2017

Package EDR. September 14, 2016

Package JointModel. R topics documented: June 9, Title Semiparametric Joint Models for Longitudinal and Counting Processes Version 1.

Package netdep. July 10, 2018

Package dominanceanalysis

Package cartogram. June 21, 2018

Package netcoh. May 2, 2016

Package EL. February 19, 2015

Package xdcclarge. R topics documented: July 12, Type Package

Package CompQuadForm

Transcription:

Type Package Package TSF July 15, 2017 Title Two Stage Forecasting (TSF) for Long Memory Time Series in Presence of Structural Break Version 0.1.1 Author Sandipan Samanta, Ranjit Kumar Paul and Dipankar Mitra Maintainer Dr. Ranjit Kumar Paul <ranjitstat@gmail.com> Description Forecasting of long memory time series in presence of structural break by using TSF algorithm by Papailias and Dias (2015) <doi:10.1016/j.ijforecast.2015.01.006>. License GPL Imports stats, fracdiff, forecast LazyData TRUE NeedsCompilation no Repository CRAN Date/Publication 2017-07-15 06:49:07 UTC R topics documented: forecasttsf......................................... 1 StructuralBrekwithLongmemory.............................. 3 TSF............................................. 4 Index 6 forecasttsf Forecasting fractionally differenced series using TSF approach Description The function is used for forecasting long memory time series using TSF approach 1

2 forecasttsf Usage forecasttsf(n0,xt,bandwidth) Arguments N0 Xt bandwidth lead period of forecast univariate time series the bandwidth used in the regression equation Value forecasttsf the predicted values, the out of sample forecasts and the values of long memory parameter Author(s) Sandipan Samanta, Ranjit Kumar Paul and Dipankar Mitra References Papailias, F. and Dias, G. F. 2015. Forecasting long memory series subject to structural change: A two-stage approach. International Journal of Forecasting, 31, 1056 to 1066. Wang, C. S. H., Bauwens, L. and Hsiao, C. 2013. Forecasting a long memory process subject to structural breaks. Journal of Econometrics, 177, 171-184. Reisen, V. A. (1994) Estimation of the fractional difference parameter in the ARFIMA(p,d,q) model using the smoothed periodogram. Journal Time Series Analysis, 15(1), 335 to 350. Examples ## Simulating Long Memory Series N <- 1000 PHI <- 0.2 THETA <- 0.1 SD <- 1 M <- 0 D <- 0.2 Seed <- 123 N0<-9 bandwidth<-0.9 set.seed(seed) Sim.Series <- fracdiff::fracdiff.sim(n = N, ar = c(phi), ma = c(theta), d = D, rand.gen = rnorm, sd = SD, mu = M) Xt <- as.ts(sim.series$series) ## Forecasting using TSF method forecasttsf (N0,Xt,bandwidth)

StructuralBrekwithLongmemory 3 StructuralBrekwithLongmemory Predicting fractionally differenced series in presence of structural break Description The function is used for prediction of long memory time series in presence of structural break Usage StructuralBrekwithLongmemory(ts,bandwidth) Arguments ts bandwidth univariate time series the bandwidth used in the regression equation Value StructuralBrekwithLongmemory the updated series at first step of TSF appraoch, prediction based on TSF approach and the estimate of long memory parameter Author(s) Sandipan Samanta, Ranjit Kumar Paul and Dipankar Mitra References Papailias, F. and Dias, G. F. 2015. Forecasting long memory series subject to structural change: A two-stage approach. International Journal of Forecasting, 31, 1056 to 1066. Wang, C. S. H., Bauwens, L. and Hsiao, C. 2013. Forecasting a long memory process subject to structural breaks. Journal of Econometrics, 177, 171-184. Reisen, V. A. (1994) Estimation of the fractional difference parameter in the ARFIMA(p,d,q) model using the smoothed periodogram. Journal Time Series Analysis, 15(1), 335 to 350. Examples ## Simulating Long Memory Series N <- 1000 PHI <- 0.2 THETA <- 0.1 SD <- 1 M <- 0 D <- 0.2 Seed <- 123 bandwidth<-0.9

4 TSF set.seed(seed) Sim.Series <- fracdiff::fracdiff.sim(n = N, ar = c(phi), ma = c(theta), d = D, rand.gen = rnorm, sd = SD, mu = M) Xt <- as.ts(sim.series$series) ## Forecasting using TSF method StructuralBrekwithLongmemory(Xt,bandwidth) TSF Fractionally differenced series for any value of d Description The function fdseries computes the fractional differenced series for any value of d i.e. positive or negetive. Usage fdseries(x, d) Arguments x d univariate time series The orer of fractional differencing to be done Value fdseries fractionally differenced series for both positive as well as negetive d Author(s) Sandipan Samanta, Ranjit Kumar Paul and Dipankar Mitra References Papailias, F. and Dias, G. F. 2015. Forecasting long memory series subject to structural change: A two-stage approach. International Journal of Forecasting, 31, 1056 to 1066. Wang, C. S. H., Bauwens, L. and Hsiao, C. 2013. Forecasting a long memory process subject to structural breaks. Journal of Econometrics, 177, 171-184. Reisen, V. A. (1994) Estimation of the fractional difference parameter in the ARFIMA(p,d,q) model using the smoothed periodogram. Journal Time Series Analysis, 15(1), 335 to 350.

TSF 5 Examples ## Simulating Long Memory Series N <- 1000 PHI <- 0.2 THETA <- 0.1 SD <- 1 M <- 0 D <- 0.2 Seed <- 123 set.seed(seed) Sim.Series <- fracdiff::fracdiff.sim(n = N, ar = c(phi), ma = c(theta), d = D, rand.gen = rnorm, sd = SD, mu = M) Xt <- as.ts(sim.series$series) ## fractional differencing fdseries(xt,d=d)

Index fdseries (TSF), 4 forecasttsf, 1 StructuralBrekwithLongmemory, 3 TSF, 4 6