Learn R Programming

⚠️There's a newer version (1.0.12) of this package.Take me there.

dsa (version 0.74.18)

Seasonal Adjustment of Daily Time Series

Description

Seasonal- and calendar adjustment of time series with daily frequency using the DSA approach developed by Ollech, Daniel (2018): Seasonal adjustment of daily time series. Bundesbank Discussion Paper 41/2018.

Copy Link

Version

Install

install.packages('dsa')

Monthly Downloads

390

Version

0.74.18

License

GPL-3

Maintainer

Daniel Ollech

Last Published

April 15th, 2020

Functions in dsa (0.74.18)

Add

Adding xts together
doy_dummy

Dummy for the Day of the Year
day_split

Forecasts the days of the week
fill_up

Fill up NAs
df2HTML

Output a dataframe to HTML
drop31

Cutting spurious days from a series with 31 days a month.
makeDummy

Creating set of dummy variables for specified Holidays
dsa

Seasonally Adjust Daily Time Series
ts.sum

Add time series
fill31

Extending a daily time series to having 31 days each month.
Descaler

Invert taking logs and differences of a time series
freq_xts

Obtain the frequency of an xts time series
outlier

Outlier adjustment of daily time series
get_trend

Get Trend-Cycle
output

Creating Output for dsa
ts2xts

Change ts to xts
plot.daily

Plot daily time series
get_original

Get Original Time Series
Holiday

Creating Holiday dummy
Scaler

Take logs and differences of a time series
makeCal

Creating holiday regressor that increases linearly up to holiday and decreases afterwards
get_sa

Get Seasonally Adjusted Series
to_weekly

Change a daily to a weekly differenced time series
plot_spectrum

Plot the periodogram of a daily time series
xts2ts

Change xts to ts
xtsplot

Create a plot for xts series
dom_dummy

Dummy for the Day of the Month
dow_dummy

Dummy for the Day of the Week
Time

Creating Several Holiday dummy
daily_sim

Create a simple, exemplary, seasonal, daily time series