Functions, classes and methods for time series modelling with ARIMA and related models. The aim of the package is to provide consistent interface for the user. For example, a single function autocorrelations() computes various kinds of theoretical and sample autocorrelations. This is work in progress, see the documentation and vignettes for the current functionality. Function sarima() fits extended multiplicative seasonal ARIMA models with trends, exogenous variables and arbitrary roots on the unit circle, which can be fixed or estimated.
new test for GARCH-type noise based on Kokoszka and Politis result.
more complete sets of methods for several functions. In particular, there was infinite recursion in some cases.
show() methods for autocovariance objects
numerous changes in
cater for changing function names in the forthcoming release 2.0.0 of package
lagged (>= 0.2.1) (
lagged 0.2.0 is not sufficient since
nSeasons<-() accidentally were not exported by it).
garch_tests_example now imports the data using
so that the examples can be run easily by the user.
makeArimaGnb() for setting up the state space form of ARIMA
models. It is a modification of
stats::makeARIMA() with Georgi's method for
computation of the stationary part of the initial state covariance matrix.
The methods implemented in
stats::makeARIMA()are commented out since they
are not exported from package
sarima() gets an argument to specify the method to use for the stationary
part of P0 (see above). The available options are the ones in
("Rossignol2011" and "Gardner1980") plus Georgi's method ("gnb"). The default
NEWS.md and uses markdown syntax. The style is loosely based
manually incorporated or noted changes from Jamie's 0.7.4.9001/2018-08-17. Namely:
dealt with 'valgrind' warnings (had missed one uninitialised warning).
fixed a bug in prepareSimSarima() - when initial values were not supplied in the stationary case, the initialisation was not correct (thanks to Cameron Doyle for reporting this).
this is an emergency release to avoid the package being archived on CRAN due to the archival of a dependency.
the main new feature since the previous release, 0.5-2, of the package is
the versatile function
sarima(), which provides formula syntax for
fitting encompassing SARIMA, ARUMA, XSARIMA, Reg-SARIMA, ARMAX
models. Parsimonious multiplicative specifications are supported for the
stationary and non-stationary parts of the model, as well as arbitrary unit
roots on the unit circle, which can be fixed or estimated. 'sarima()'
is documented but is still under development.
removed 'portes' from Imports - it was not used for some time in 'sarima' (it was scheduled from removal from CRAN on 2018-07-30).
removed package 'FKF' from Imports, since it has been archived on CRAN.
merged branch models with master.
Changes in branch 'models'
in DESCRIPTION, moved 'methods' from DEPENDS to Imports.
various bug fixes and cosolidations.
improvements to the documentation.
returned the stuff the test package 'testts' (and removed the latter).
testts was not helpful and complicated the workflow.
Now the tests for
armaQ0 etc are in `sarima.
now can request estimation of components with roots on the unit circle.
in xreg and regx specifications, renamed cs(), B(), p() to .cs(), .B(), .p(), respectively.
further to the above, in xreg and regx specifications `t' stays as is for now, since it needs more care, but its use is discouraged.
removed sincos() and L() from sarima specifications, use the equivalents .cs() and .B(), respectively.
intermediate versions, not useful for back reference (the zip file given is a better place to look for code before 0.6-6).
now on bitbucket as part of sarima_project. The original upload is in sarima_project/Archive/sarima_project_Orig.zip.
wrapping up 0.6-5 before making the changes needed for estimation of unit roots.
support for tanh transformation.
factorisation of MA
Packing up this version before moving stuff that needs ':::' calls elsewhere (e.g. to myRcpp, but haven't decided on the structure)
Several bug fixes.
Some trouble with Rcpp, further trouble with Rtools after installing the latest version of R. Packing up this version for a working reference.
included some C++ code (using Rcpp/RcppArmadilo) previously tested in my (private) package myRcpp.
removed the internal arima() functions introduced in 0.5-11.
added ss.method = "sarima" to sarima() which uses the new C++ functions to compute the likelihood. Limited testing confirms that this method gives the same results as arima() for models that can be fitted with arima().
bumping the version number to have a working version in case further improvements mess things up.
moved temporarilly FitAR from Imports to Depends, since FitARMA can't find some functions from FitAR if FitARMA is not attached. (move back to Imports when Ian imports FitAR in FitARMA's namespace)
further work on sarima(), saving before more meddling with the environments of the formulas
added support for KFAS.
fixed parameters and initial values are supported for ARMA specifications (but not for regression parameters yet).
sarima() is still incomplete but is usable.
archiving before a full scale consolidation and clean up, in case that messes things up.
sarima() now fits XARIMAX models, in the case of the second X, using FKF::fkf().
archiving before starting work on completing the handling of fixed parameters.
model formulas for SARIMA models using package Formula.
usable version of sarima() function but not for publication yet.
packing this version before further work on sarima().
plot of acf tests now uses different 'lty' so that the confidence limits under iid and garch nulls are visually distinguishable in black and white printouts.
plot of acf tests now accepts argument 'interval' to produce rejection limits for levels other than the default 95%.
started to add references to the documentation.
for armaacf() and armaccf_xe() the innovation variance in argument 'model' is now called 'sigma2' (the old 'sigmasq' still works but is deprecated).
a number of corrections and additions to the documentation.
SarimaModel now inherits from VirtualSarimaModel (it was inheriting from VirtualFilterModel. On its own, this is invisible to the user. It didn't invalidate existing objects either.
new class "VirtualIntegratedModel".
new functions nUnitRoots() and isStationaryModel.
exported functions related to Bartlett's formula (they were there in version 0.4-5, under different names).
substantial work on SARIMA models and their documentation.
increasing the version number before some streamlining of class SarimaModel.
moved "Lagged" to a separate package, "lagged".
streamlined acfIidTest() and documented it properly.
new vignette based on example in Chapter 7 of James Proberts' MMath project.
first submission to CRAN.