tsibbledata | Example datasets | Dataset library
kandi X-RAY | tsibbledata Summary
kandi X-RAY | tsibbledata Summary
This package provides examples of tsibble datasets which can be used within the tidyverts family of packages.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tsibbledata
tsibbledata Key Features
tsibbledata Examples and Code Snippets
Community Discussions
Trending Discussions on tsibbledata
QUESTION
In fable
's ARIMA
function, we have the option to see all models that are evaluated with the trace = TRUE
option. (Example below.) This output just prints to the console.
Is there any place that this model evaluation history is getting saved or is there any way to save the printed console output?
...ANSWER
Answered 2021-Dec-04 at 18:24There are some options to read the output
- Write the output of
capture.output
to afile
QUESTION
How do I "turn on" the progress bar for slower model()
s?
It seems to be an option according to development in fable and fabletools... but I can't turn it on.
Can someone please tell me what I am missing?
...ANSWER
Answered 2021-Jan-17 at 10:32Progress bars can be enabled by wrapping your code with with_progress()
from the progressr
package. Further customisation can also be found from the progressr package documentation: https://cran.r-project.org/web/packages/progressr/index.html
QUESTION
I am trying to get the samples from a forecast model generated with fable
. This is what I tried
ANSWER
Answered 2020-Nov-23 at 00:06If we want to extract the 'dist' values into 'long' format, loop over the list
column 'Beer', extract the values, assign it back to the 'Beer' and then unnest
QUESTION
I do not have a workaround for this at the moment, so desperately looking to solve this issue, no matter how cumbersome as long as my code is working again...
I want to coerce a tsibble to a fable object with:
...ANSWER
Answered 2020-Sep-28 at 11:57It's not the most intuitive error message, but I have experienced this before with this function. You actually have to pass Debt
to both arguments. I believe the error message references .mean
because of an error thrown by an internal function.
QUESTION
I am comparing the results of the automatic lambda selection function BoxCox.lambda
from the forecast
package VS the fable
package automatic lambda selection features
As you can see below, the two functions did not return the same results. Moreover, when I apply the BoxCox.lamda
on a the same data, but once on a ts object and once on vector, the results are different.
Some body can explain me why it behaves like this ?
...ANSWER
Answered 2020-Aug-11 at 00:09The feasts::guerrero()
function from uses all of the data available, whereas forecast::BoxCox.lambda()
ignores data that doesn't fit exactly within the year.
Your vic_cafe
dataset starts in April, and so the feasts package will group seasons as April-March, but forecast will use January-December and remove the first part of the data.
Some more discussion can be found here, and I've added a mention of these differences in the documentation: https://github.com/tidyverts/feasts/commit/830fe4095cf6231e7bb179519cddfeadd9cd7531
QUESTION
I am trying to generate rolling forecasts with R packages fable
and tsibble
. I can do this successfully if I don't include external variables in the model. An example can be found here: https://otexts.com/fpp3/simple-methods.html.
ANSWER
Answered 2020-Aug-07 at 19:11I just needed to reverse the key structure with update_tsibble()
:
QUESTION
I would like to pass a list of models with different external regressors to an ARIMA model within fable::model(). Ultimately, I would like to pass every possible combination of a few (up to 10) external variables to ARIMA().
Using the household budget data for the US as an example
...ANSWER
Answered 2020-Jul-03 at 03:53You can create formulas programmatically in a variety of ways.
The simplest is to use as.formula()
:
QUESTION
I am trying to accuracy function from fable package. It sometimes gives unexpected errors like this
...ANSWER
Answered 2020-Jun-28 at 15:15when you call library(fpp3)
you get a warning (Conflicts) that says, there is a conflict with dpylr::filter
. That means you have to call filter
with dyplr::filter
as shown in this reprex.
QUESTION
I am trying to dynamically insert variables into a fable model.
Data ...ANSWER
Answered 2020-Apr-23 at 15:54You're possibly making this a bit more complicated than it needs to be. You can convert a string to a formula by doing as.formula(string)
, so simply build your formula as a string, convert it to a formula, then feed it to ARIMA
. Here's a reprex:
QUESTION
I'm working through the Hyndman fpp3 package based on this markdown document. https://github.com/robjhyndman/ISI_Workshop_2019/blob/master/5_reconciliation/reconciliation.Rmd
I just couldn't find out why the following code fail to run
...ANSWER
Answered 2020-Apr-21 at 09:14The issue was solved by regressing back to CRAN version of some packages rlang, fpp3 R package: Error: `vars` must be a character vector upon calling aggregate_key()
I notice the question was duplicated on stackoverflow after being migrated from stats.stackexchange
Could any admin help how we can reconcile these duplicates?
Thanks
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tsibbledata
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page