- Fixed
gg_season()
not working with daily data showing seasonality > 1 week.
- Added
gg_irf()
for plotting impulse responses (typically obtained from usingIRF()
with fable models). - Added cointegration tests
cointegration_johansen()
andcointegration_phillips_ouliaris()
fromurca
.
- Documentation improvements.
- Fixed
gg_season()
not wrapping acrossfacet_period
argument correctly.
Minor patch to resolve CRAN check issues with ggplot2 v3.5.0 breaking changes.
- Calculate seasonally adjusted data from classical decomposition using original data and seasonal term rather than trend and remainder.
- Fixed out-of-bounds
gg_season()
breaks issue with ggplot2 v3.5.0 - Changed the metadata of classical decomposition's components to better reflect the seasonally adjusted variable's structure.
Minor patch to resolve CRAN check issues with S3 method consistency.
- Added the
tapered
argument toACF()
andPACF()
for producing banded and tapered estimates of autocovariance (#1).
gg_season()
now allows seasonal period identifying labels to be nudged and repelled with thelabels_repel
,labels_left_nudge
, andlabels_right_nudge
arguments.gg_season()
behaviour ofmax_col
has been restored, where colours aren't used if the number of subseries to be coloured exceeds this value. The default has changed toInf
since this function now supports continuous colour guides. A new argumentmax_col_discrete
has been added to control the threshold for showing discrete and continuous colour guides (#150).- Updated
guerrero()
method to maintain a consistent subseries length by removing the first few observations of needed. This more closely matches the described method, and the implementation in the forecast package. - Added
grid.draw()
method for ensemble graphics (gg_tsdisplay()
andgg_tsresiduals()
). This allows use ofggsave()
with these plots (#149).
- Fixed
generate(<STL>)
returning$.sim
as anum [1:n(1d)]
instead ofnum [1:72]
(fable/#336). - Fixed issue with
gg_season()
incorrectly grouping some seasonal subseries. CCF()
now matchesstats::ccf()
x
andy
arguments (#144).
Minor release for compatibility with an upcoming ggplot2 release. This release contains a few bug fixes and improvements to existing functionality.
- The
gg_tsresiduals()
function now allows the type of plotted residual to be controlled via thetype
argument. - Improved the default seasonal window for
STL()
decompositions. For data with a single seasonal pattern, the window has changed from 13 to 11. This change is based on results from simulation experiments. - Documentation improvements.
- Fixed issue where
seasonal::seas()
defaults were not being used inX_13ARIMA_SEATS()
whendefaults = "seasonal"
(#130). - Fixed issue with
gg_subseries()
on data with spaces in the index column name (#136).
- Replaced usage of
...
inACF()
,PACF()
, andCCF()
withy
(andx
forCCF()
) arguments. This change should not affect the code for most users, but is important for the eventual passing of...
toacf()
,pacf()
andccf()
in a future version (#124).
Small patch to fix check issues on Solaris, and to resolve components()
for
automatically selected transformations in X_13ARIMA_SEATS()
.
- Added
X_13ARIMA_SEATS()
decomposition method. This is a complete wrapper of the X-13ARIMA-SEATS developed by the U.S. Census Bureau, implemented via theseasonal::seas()
function. The defaults match what is used in the seasonal pacakge, however these defaults can be removed (giving an empty default model) by settingdefaults="none"
.
- The new
X_13ARIMA_SEATS()
method officially deprecates (supersedes) theX11()
andSEATS()
models which were previously not exported (#66).
- Documentation improvements.
- Added
generate()
method forSTL()
decompositions. The method uses a block bootstrap method to sample from the residuals. - Added
fitted()
andresiduals()
methods forSTL()
decompositions.
- Changed
guerrero()
default lower bound for Box-Cox lambda selection to from -1 to -0.9. A transformation parameter of -1 typically results from data which should not be transformed with a Box-Cox transformation, and can result in very inaccurate forecasts if such a strong and inappropriate transformation is used. - Improved time series plotting functions axis labelling.
- Documentation improvements.
A minor release to fix check issues introduced by changes in an upstream dependency.
gg_season()
labels are low aligned outward (#115).
- Fixed issue with plotting aggregated tsibbles with
gg_season()
andgg_subseries()
(#117). - Fixed occasional issue with double label/breaks displayed in
gg_season()
gg_lag()
facets are now displayed with a 1:1 aspect ratio.- Season and subseries plots of numeric index data now starts at the earliest measured observation, rather than assuming a meaningful 0 (#111).
- The
n_flat_spots()
function has been renamed tolongest_flat_spot()
to more accurately describe the feature. gg_season()
andggsubseries()
date structure improvements.- Documentation improvements
- The
n_flat_spots()
return name is now "longest_flat_spot" to better describe the feature.
- Fixed spectral density plot in
gg_tsdisplay()
erroring when thespec.ar
order is chosen to be 0. - Fixed
CCF()
lag being spaced by multiples of the data's frequency. - Fixed labelling of x-axis for
gg_season()
andgg_subseries()
(#107). - Fixed
View()
not working onACF()
,PACF()
andCCF()
outputs.
Minor patch to resolve upstream check issues introduced by dplyr v1.0.0 and tsibble v0.9.0.
- Circular time plots are now supported by setting
polar = TRUE
ingg_season()
.
- Added partial matching of the type argument in
ACF()
. - Updated
feat_spectral()
to usestats::spec.ar()
instead ofForeCA::spectral_entropy()
. Note that the feature value will be slightly different due to use of a different spectral estimator, and the fix of a bug in ForeCA.
- Fixed the minimum data length for seasonal estimation in
feat_stl()
.
- The axis for
gg_lag()
have been reversed for consistency withstats::lag.plot()
. - Graphical improvements for displaying weekly seasonality in season and subseries plots.
- Added intermittency features available in
feat_intermittent()
- Fixed the sprectral density plot in
gg_tsdisplay()
not working with plotting expressions of data. - Fixed issue with
gg_subseries()
erroring when certain column names are used (#95). - Fixed issue with environment handling in
STL()
specials.
var_tiled_var()
no longer includes partial tile windows in the computation.- Added residual acf features to
feat_stl()
. - Performance improvements.
- Decompositions are now treated as models.
To access the decomposed values, you will now have to use
components()
. For example,tourism %>% STL(Trips)
is nowtourism %>% model(STL(Trips)) %>% components()
. This change allows for more flexible decomposition specifications, and better interfaces for decomposition modelling.
- Fixed bug with
feat_spectral()
not showing results. - Fix warning in
ACF()
,PACF()
andCCF()
for tidyr change. gg_tsdisplay()
will no longer fail on non-seasonal data with missing values. The last plot will instead show a PACF in this case (#76)- Better handling of perfect fits in
stat_arch_lm()
(#85)
- Better naming of seasonal columns in STL decomposition when seasonal period is specified.
- Fixes issues with running tests on unsupported systems.
- First release.
- Added support for graphical analysis of tidy temporal data and models, with
gg_season
,gg_subseries
,gg_lag
,gg_tsdisplay
,gg_tsresiduals
,gg_arma
. - Added support for autocorrelation functions and plots, with
ACF
,PACF
,CCF
, andautoplot.tbl_cf
- Added a collection of features to be used with
fabletools::features()
:feat_stl
,feat_acf
,feat_pacf
,guerrero
,unitroot_kpss
,unitroot_pp
,unitroot_ndiffs
,unitroot_nsdiffs
,box_pierce
,ljung_box
,var_tiled_var
,var_tiled_mean
,shift_level_max
,shift_var_max
,shift_kl_max
,feat_spectral
,n_crossing_points
,n_flat_spots
,coef_hurst
,stat_arch_lm
- Added support for two decomposition methods:
classical_decomposition
,STL