NEWS
strucchangeRcpp 1.5-4-1.0.0 (2024-10-17)
- Synchronised code with upstream strucchange.
- Fix for the 'breaks' option not being fully honoured in breakpoints() if
the option is numeric.
strucchangeRcpp 1.5-3-1.0.4 (2021-11-26)
- Replaced links in citations with DOIs (sync with upstream strucchange)
- Debug symbols are now retained on macOS, increasing the binary size. Use
R CMD INSTALL --strip to decrease the size if you need to keep size low.
strucchangeRcpp 1.5-3-1.0.3 (2021-05-26)
- Fix for deprecation of digits = 0 in latest R version
strucchangeRcpp 1.5-3-1.0.2 (2021-04-07)
- Lowered the required precision for tests of R.sq in summary.breakpoints().
strucchangeRcpp 1.5-3-1.0.1 (2021-03-28)
- Fix for build failures on Solaris and other architectures.
strucchangeRcpp 1.5-3-1.0.0 (2021-03-24)
- Initial release of the C++-optimised version of strucchange, strucchangeRcpp.
The optimisations are enabled by default, use
options(strucchange.use_armadillo = FALSE) to disable them.
- Arguments of mefp.matrix and breakpoints.matrix now use 'obj' as the name for
X, to be consistent with the generics. Avoid positional arguments, as they
differ per method.
- breakpoints(): Added the ability to select the optimal number of breakpoints
by LWZ or RSS via the argument 'breaks'.
- Added a function magnitude() for getting informaton about breakpoint
magnitude using a variety of statistics.
- Added the R² statistic of the model fit to summary.breakpoints() and
summary.breakpointsfull(), available as an element 'r.squared'.
- breakpoints() called on a response with no variance returns no break instead of an error
instead of an error.
- Fixed a bug where efp() with h = 1 would create an invalid time series and
fail with an error.
strucchangeRcpp 1.5-3
- Fixups for R CMD check on different platforms.
strucchangeRcpp 1.5-2
- Added lrvar = FALSE argument to efp() so that optionally a long-run variance
estimator (Andrews or Newey-West) instead of the standard OLS estimator can
be used for the error variance.
- Added vcov. = NULL argument to efp() so that optionally other covariance
matrix estimators can be plugged into RE and ME tests (e.g., sandwich(),
kernHAC(), NeweyWest(), etc.).
- The default recresid() gained an argument qr.tol = 1e-7 which allows to
pass another tolerance to lm.fit() for detecting linear dependencies in
(small) subsamples. Furthermore, an argument engine = c("R", "C") has been
added along with an alternative faster C implementation (by Nikolaus
Umlauf).
- The formula method of breakpoints() now passes ... to recresid(), e.g., for
the qr.tol and engine arguments above.
- The breaks argument of the breakpoints() formula argument is now checked
to be at least 1.
- breakpoints(..., hpc = "foreach") now also works if the "foreach" package
is not attached.
- Improved support for formulas like 'y ~ .' in efp(), Fstats(), and
breakpoints(). (Suggested by Matthieu Stigler.)
- Bug fix in gefp(..., decorrelate = FALSE). Scaling is done with the square
root of the diagnoal of the variance - as opposed to the diagonal of the
square root of the variance. (Reported by Dries Debeer.)
strucchangeRcpp 1.5-1
- ordL2BB() now uses a direct simulation method based on mvtnorm::rmvnorm()
which is much faster, making the computation of p values and critical values
for the ordinal maxLM statistic much faster and feasible "on the fly".
- Reduced number of significant digits in breakpoints summary to
getOption("digits") - 3.
- Reference output updated for recent versions of R.
strucchangeRcpp 1.5-0
- Added new efpFunctional generators for conducting various types of
structural change tests based on empirical fluctuation processes of class
"gefp". In particular a (maximum) MOSUM functional was added as well
as several functionals suitable for aggregation along categorical
variables. The documentation for previously available functionals
such as supLM() was also enhanced.
- The new functionals mentioned above for assessing parameter instability
along (ordered) categorical variables are catL2BB (unordered),
ordL2BB and ordwmax (ordered). These are discussed in more detail in
Merkle, Fan, and Zeileis (2013, Psychometrika).
- Added a new default method for sctest(). This essentially just calls
gefp(object, fit = NULL) and then (optionally) calls plot() and sctest()
using the specified functional. However, several convenience options have
been added, e.g., using the maximum likelihood information (rather than
the outer product of gradients) for the covariance matrix or specifying
the functional via a character string.
- Documentation of the sctest() generic and its methods have been enhanced.
Methods for "formula", "efp", and "Fstats" are suitable for assessing
structural changes in linear regression models while the "default" and
"gefp" methods (see above) are suitable for general parametric models.
- Improved plot() method for gefp/efpFunctional to allow for more
flexibility in boundary display. Rather than only boundary = TRUE) or
FALSE one can now specify a list of graphical parameters, e.g.,
boundary = list(col = "slategray", lty = 2).
- Updated Depends/Imports in DESCRIPTION/NAMESPACE with new R CMD check
requirements.
strucchangeRcpp 1.4-7
- plotProcess() function in "efpFunctional" objects now takes a
boundary = TRUE argument by default which can be set to FALSE to
suppress plotting of the boundary function.
- Added a check (and a more intelligible warning) in the "formula"
method of breakpoints() whether the 'breaks' argument supplied by
the user is too large.
strucchangeRcpp 1.4-6
- Default recresid() can now also deal with regressors that do not
vary across (small) subsamples.
strucchangeRcpp 1.4-5
- Further improvements in new recresid() default method.
Now also works correctly if some coefficients are not identified
on the initial subsamples in the recursion.
- Resaved datasets to reduce storage requirements.
- Fixed bug in breakpoints() for time series that contain NAs.
strucchangeRcpp 1.4-4
- Default recresid() method now tries to choose adaptively between
using the faster updating formula and the slower full
QR decomposition to yield numerically more stable results.
In previous versions of the function the QR decomposition was
used only in the first iteration.
- Improvement in breakdates() computations.
strucchangeRcpp 1.4-3
- Speed-up in breakpoints() for the intercept-only case,
i.e., breakpoints(y ~ 1).
strucchangeRcpp 1.4-2
- Improved time index computations in gefp().
- Added replication notes in ?durab.
strucchangeRcpp 1.4-1
- efp(), Fstats(), and breakpoints() are now more cautios about using
time series properties from the data and try to check whether any
NAs were removed. In general, the functions will yield best results
if all NA processing is done before calling them.
- Better handling of time series properties for the boundaries in
the examples of SP2001.
strucchangeRcpp 1.4-0
- added optional high performance computing support by means of the
"foreach" package for the breakpoints() formula method. This can
be leveraged to alleviate the computational burden in the dynamic
programming approach. Simply register a parallel backend (e.g.,
by means of "doMC" or "doSNOW") and call breakpoints() with
additional argument hpc = "foreach".
strucchangeRcpp 1.3-7
- added optional start end end arguments to recresid().
strucchangeRcpp 1.3-6
- enhanced documentation for new Rd parser.
strucchangeRcpp 1.3-5
- added some further references to the vignette,
and provide the associated .bib file in ~/inst/doc/.
- removed \itemize in .Rd files for new R-devel
strucchangeRcpp 1.3-4
- fixed CITATION encoding
- removed Z.sty dependency in vignette
strucchangeRcpp 1.3-3
- enhanced references in the vignette, CITATION and
man pages
- fixed some outdated information in the vignette
strucchangeRcpp 1.3-2
- added new data set with bibliographic information about
structural change publications
strucchangeRcpp 1.3-1
- renamed SP500 to SP2001 to avoid conflicts with MASS
strucchangeRcpp 1.3-0
- added NAMESPACE
- improved dependency declaration in DESCRIPTION