Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Tidy time series forecasting

License

NotificationsYou must be signed in to change notification settings

tidyverts/fable

Repository files navigation

R-CMD-checkCoverage statusCRAN statusLifecycle: stable

The R packagefable provides a collection of commonly used univariateand multivariate time series forecasting models including exponentialsmoothing via state space models and automatic ARIMA modelling. Thesemodels work within the fable framework, which provides the tools toevaluate, visualise, and combine models in a workflow consistent withthe tidyverse.

Installation

You can install thestable version fromCRAN:

install.packages("fable")

You can install thedevelopment version fromGitHub

# install.packages("remotes")remotes::install_github("tidyverts/fable")

Installing this software requires a compiler

Example

library(fable)library(tsibble)library(tsibbledata)library(lubridate)library(dplyr)aus_retail %>%  filter(State%in% c("New South Wales","Victoria"),Industry=="Department stores"  ) %>%   model(ets= ETS(box_cox(Turnover,0.3)),arima= ARIMA(log(Turnover)),snaive= SNAIVE(Turnover)  ) %>%  forecast(h="2 years") %>%   autoplot(filter(aus_retail, year(Month)>2010),level=NULL)

Learning to forecast with fable

Getting help

  • Questions about forecasting can be asked onCrossValidated.

  • Common questions about the fable package are often found onStackOverflow. You can use this toask for help if the question isn’t already answered. Aminimallyreproducible example that describesyour issue is the best way to ask for help!

About

Tidy time series forecasting

Topics

Resources

License

Stars

Watchers

Forks

Contributors13


[8]ページ先頭

©2009-2025 Movatter.jp