-
improved
pcTest()
. -
included "nsadata.csv" in the package, currently as internal data for testing.
Need description and maybe a better name before exporting. Object
datansa
is the whole dataset, objectnsaauto
is column "AUTOMOTIVEPRODNSA". -
changed slightly some Rd files not rendered well by pkgdown, e.g. move commented items out of 'describe' in methods' descriptions.
-
replaced wrong use of
is.na()
withgbutils::isNA()
or other suitable code. -
some old code contained instances of
class(x) == something
, now fixed. -
added further tests.
-
extensive testing and bug fixing.
-
removed deprecated function
ptildeorders()
, usepdSafeParOrder()
instead.
-
fixed a bug revealed by changes in R-devel circa start of February 2020. It was related to a change in variable names for some interactions produced by
lm()
, see this R-devel question. -
edited
README.md
to reflect the CRAN release of the package, since it contained some text that was meant for the pre-CRAN Github version only.
- now using
exportClass
to export classes rather thanexportClassPattern
with a lazy regexp.
-
added an example for
pclspiar
-
edited DESCRIPTION to comply with CRAN policies.
- dropped some comparisons with "pear" since a call in "test-acf.R" failed.
-
removed deprecated functions
mCpar
andsim_arAcf
. -
prepared for release.
-
replaced
setIsintroduced in v0.12-0 for"PeriodicAutocovariances"
and related classes with direct inheritance. -
numerous other changes, consolidations and bug-fixes. In particlar, updated periodic integrated and seasonally integrated models, including
fitPM()
.
-
now require 'lagged (>= 2.2)' (for the new
"slMatrix"
method for[[
). -
now require 'R (>= 3.5.0)' (for
isFALSE
). Before release require 'R (>= 3.6.0)' - there is no point to cater for old versions of R, given that this is a complete rework. -
partialAutocorrelations()
for the new class 'PartialPeriodicAutocorrelations' class return by default the variances in lag 0. This was initially the case years ago but then I changed that in some cases. The convention with the variances in lag 0 keeps the full information, so are equivalent parameterisation. TODO: Methods for printing and plotting may present the them differently. -
now the first argument of
fitPM()
ismodel
(swapped the places of the first two arguments to achieve that). -
consolidated PAR methods for
fitPM()
to use the periodic time series classes. -
for
fitPM()
, before the periodic time series classes it was convenient to consider a matrix,m
as representing a periodic time series withnrow(m)
seasons (seepcMatrix()
). Now dropping this convention infitPM()
- for now throw an error ifx
is a matrix with more than one column (in future could consider fitting multivariate PAR).
-
wrapping up v0.11-0 before starting changes to the model classes and related functionality. The reference manual and the rendered org files printed on 13 May 2019 are after the final changes to v0.11-0 (except this note and the date in DESCRIPTION).
-
now the periodic time series classes PeriodicTS and PeriodicMTS have more or less complete functionality. Methods are defined for a number of generics from R base related to time series.
-
added slot
pcstart
to class Cyclic and did a number of adjustements to the periodic time series classes to use this. -
redesigned
pcCycle()
, its API was too convoluted. -
new function
BultinCycle()
creates instances from the builtin classes. -
now class
"BultinCycle"
is virtual.
-
consolidated time series anc cycle classes.
-
registered periodic time series methods (S3) for
stats::monthplot()
and
-
first version developed under git. I created the git repo starting with the earliest available version and adding all available versions one by one (one commit for each version). Finally I added and committed the curent development directory and did some clean-up. Before starting any work under the repo, I changed the version number to 0.9-4 and made a commit. The master branch was the only branch at that time.
-
fixed a bug in
initialize()
for class"SimpleCycle"
- the logical in anif
could be of length larger than one for multi-seasonnSeasons()
. This is flagged as an error in R-deve for R 2.7-0 (April 2019). -
small edits of the documentation.
-
R CMD check --as-cran
passes completely.
-
consolidated the autocovariance classes and acf computations.
-
some bug fixes and other improvements.
-
moved 'slMatrix' class and function to package 'lagged'.
-
moved also
sl2acfbase()
,acfbase2sl()
andsl2vecacf()
to package 'lagged' (fileacfutils.R
). -
renamed
sim_arAcf()
tosim_parAcf()
. -
fixed a bug in
intercept2permean()
. -
consolidated the names of some simulation functions (for now the old names work but are deprecated.
-
moving packages 'methods', 'Matrix', 'mcompanion' from Depends to Imports ('sarima' stays in Depends, at least for now; maybe this is its natural place).
-
turned
NEWS
intoNEWS.md
. -
removed unnecessary (and unused) argument
lag_0
fromfilterPoly()
methods for classes "PeriodicBJFilter" and "PeriodicSPFilter".
- changed some classes while coordinating 'pcts' with 'sarima'.
- consolidating after moving the stationary stuff to 'sarima' and 'lagged' (and moving out more).
- Redeveloped the classes for fitted models (there were few before).
-
Package working again;
R CMD check
completes with no WARNINGs and NOTEs. (With--as-cran
gives two NOTEs: - that mcompanion is not on CRAN, - non-standard files in the root directory). -
Revamped the model classes.
-
The time series classes are as in Version 0.7-0.
-
A number of R files are now generated from '*.org' sources (this was started in 0.7-0).
- This version is left in a non-working state.
- Discarded this revamp, too convoluted.
- Total revamp of the classes.
- The new classes are too cumbersome, abandon them. Unfinished, the last version in the series does not work properly. Some programming ideas are interesting for future reference.
- consolidated the cycle classes.
- removed the now obsolete class "pc.Model.WeaklyStat"
- removed some obsolete
pc.xxx
functions - stopped exporting some pc.xxx functions and moved ther documentation to "TechicalDoc/Rd_old". If any of these are to be exported, change their names consistently with my current conventions.
- removed class "sVector" (superseded by "PeriodicVector").
- changed significantly the cycle classses.
- removed entirely replace method for
nSeasons
since it doesn't make sense.
- removed old classes made obsolete by the revamped ones.
- removed dependency on pctsData.
- now IMPORT:-ing 'stats4' (currently for S4 plot)
- added documentation for the revamped classes and functions - not complete yet
but passes
R CMD check
without any warnings/notes.
- the new classes for periodic models are more complete and consolidated.
- renamed
pc.maxlag()
tomaxLag()
. - numerous other changes and additions.
pc.nseasons()
is now obsolete - it is no longer imported frompcData
and is defined to callnSeasons()
.
-
partial consolidation of "slMatrix" - the code was from 2006-2007 with occasional patches.
-
mass renaming with more consistent names (most of the code is from 2007 or earlier when underscore was not admissible in names),
-
new pc time series classes
-
new argument 'nseasons' for
pc_test
; renamed argument 'model' to 'nullmodel'. -
renamed
pc_test
topcTest
. -
renamed
pcAcf
topcAcvf
-acf
is universally used for autocorrelations -
now import "zoo".
-
now import "ltsa" (McLeod et al).
-
many other changes - new classes, consolidations.
-
changing to new version before making changes to eliminate package
pcData
.
- Don't know if there are changes after 0.3-3 but packing before synchronising with the changes in package 'mcompanion' 0.2-11 to 0.3-1.
-
pclsdf
was giving warning about length of residuals non-multiple of number of seasons, when computing innovation variances. -
formula construction in
pclsdf
somewhat cleaned up.
-
there are now classes for fitted models.
-
num2pcpar
now returns a list if 'result' isNULL
and PAR coefficients otherwise (used to look at argument 'mean' to decide on this, now gives error if 'mean' is invalid). -
matcovlist now has argument "result" and can return a matrix.
-
Create a new package
pctsData
and move some stuff there to reduce the clutter in "pcts". For now make "pcts" depend on "pctsData" but the idea is eventually to drop this dependance, since much of the stuff that will be put there is redundant. (In fact, eventually the dependance may be the other way round ("pctsData" depending on "pcts" for those needing compatibility). -
modified
xx.ss
and similar to use subspace parameterisation for core vectors. Partially implemented. Works with version 0.2-6 of "mcompanion".
- new argument 'len.block' for
xx.ss
; corresponding changes inmC.ss
. xx.ss
- more meaningful processing of initial values.- export "[" S3 method for signature 'sVector'.
- the index in pcts-package is now by topic.
- a few other changes in the documentation.
- Corrections and additions to
pcls.R
. - Do not import "pad" (it is now merged into "gbutils").
- retired
pc.armafilter
andpc.filter
(long overdue). Existing calls topc.filter.arma
can simply be replaced by calls topc.filter.xarma
. Calls topc.armafilter
can be replaced by calls topc.filter
but in addition argument 'model' should be named since inpc.filter
it is the first argument, while inpc.armafilter
it was third.
-
started updating the time series classes.
-
bug in
pc.filter
: failed to change sign of intercept and nintercept whenwhiten = TRUE
, which was giving wrong results in the case of non-zero intercepts. -
removed other bugs
- removed some experimental estimation functions whose place is not in this package.
- last version before starting to clean up and consolidate the package. A lot of stuff goes back to 2006-2007 and even 2003.