Fable -- a FORTRAN 77 to C++ convertor.
Questions tagged [fable]
43 questions
7
votes
2 answers
tsibble -- how do you get around implicit gaps when there are none
I am new to the tsibble package. I have monthly data that I coerced to a tsibble to use the fable package. A few issues I am having
It appears the index variable (from my testing) is not of class date even though I applied
lubridate's ymd function…

Punxsutawney
- 81
- 1
- 4
3
votes
0 answers
R fable logit transformed exponential smoothing forecast producing unexpected result
I have tried and tried to figure this out but am having no luck!!
I have constructed a model that aims to forecast a relatively short time series using an exponential smoothing method. The results need to be constrained to between 0 and 1, so I use…

rohan
- 31
- 3
2
votes
1 answer
How to use the window.chrome API in fable
I'm going to develop a Chrome extension using fable+feliz,
But when I'm coding, I found IDE does not recognize the window.chrome API, which is very important to Chrome extension developing
So after some searching I installed the npm package…

nevermind_15
- 217
- 1
- 6
2
votes
1 answer
Forecasting using fable, how to use specials?
I'm trying to use specials when forecasting using the fable package but I can't figure out the syntax of how to use them and I haven't been able to find an example that I can use as a guide.
I've put a simple example below of trying to use a window…

Jerry424
- 188
- 6
2
votes
0 answers
Timeseries in R error with fable: slicing a scalar
I am trying to use the tidyverts packages (tsibble, feasts, fable) to do some time series analysis. I am following along the tutorial here. The data is ten years of daily counts.
> summary(mockTsib)
Date CallTypeCode calls…

Adrian Martin
- 780
- 7
- 21
2
votes
1 answer
How to know the best FASSTER formula
My data structure is in the image below and has hourly intervals. I need to forecast the Demand.
# A tsibble: 23,400 x 6 [1h]
Date Demand WeekDay DaysAfterHoliday Influenza MAX_Temperature
…

Diana Serrano
- 47
- 7
1
vote
1 answer
How to convert HTML code into Fable.React?
I am new to Fable. I need to convert this html code (this is just a simplified sample, and btw not mine) into the Fable.React syntax.
1
vote
0 answers
Why does the constant coefficient change when using fable::refit(reestimate=FALSE)?
I try to refit an existing fable model to new data to get estimates for unseen data. I am wondering why the constant coefficient changes when I use fable::refit(m, reestimate=F) thats unintuitive to me. The coefficient also changes when I refit the…

Andreas Jendrzey
- 11
- 1
1
vote
0 answers
R combination forecast using tsibble, code coerces to a tibble instead of a mable, can't change back
I'm following Dr. Rob Hyndman's textbook on time series forecasting in R. I'm in Chapter 13 which talks about Practical Forecasting Issues (and I'm having issues while working through the practical forecasting issue section!)
Specifically, I'm…

hachiko
- 671
- 7
- 20
1
vote
1 answer
Facet a fabletools autoplot of a fable forecast by model
Is there any way to use autoplot with a fable, but facet it by the model? The code below produces a nice little graph, but overlays the forecasts on top of each…

wittyalias
- 35
- 8
1
vote
0 answers
How to forecast a VAR model and plot variables as a fanchart in Fable package (R)
I'm attempting to create VAR forecasts and plot both variables as fancharts using the fable package in R.
library(tidyverse)
library(tsibble)
library(fable)
# Create dataset (tsibble format)
data <- structure(list(date = structure(c(16436, 16526,…

Tanga94
- 695
- 6
- 27
1
vote
1 answer
How to get value from agg_vec in R?
I am working with fpp3 forecasting package in R in order to produce a hierarchical forecast but I only need the forecast of the lower levels. Sadly, all values came in an agg_vec type which is not something I want.
Is there anyway to extract its…

alqacer
- 37
- 1
- 5
1
vote
1 answer
Why are forecast values slightly lower with `fable::TSLM()` than `stats::lm()`?
I am doing some work which involves modelling values over time, and in the interests of clarity I would like to use the fable package to do this. I want to create a linear model over time with a log transformation - however, I have found that the…

wurli
- 2,314
- 10
- 17
1
vote
3 answers
How to unnest samples from a fable R forecast model
I am trying to get the samples from a forecast model generated with fable. This is what I tried
library(fable)
library(tsibble)
library(tsibbledata)
library(dplyr)
library(tidyr)
# Forecasting with an ETS(M,Ad,A) model to Australian beer…

Alex
- 2,603
- 4
- 40
- 73
1
vote
1 answer
Convert point forecasts in fable from exponential format to normal numbers
I have created the following tsibble (named afsi)
structure(list(Date = structure(c(12509, 12600, 12692, 12784,
12874, 12965, 13057, 13149, 13239, 13330, 13422, 13514, 13604,
13695, 13787, 13879, 13970, 14061, 14153, 14245, 14335, 14426,
14518,…

sa90210
- 525
- 2
- 12