in_sample | R Documentation |
The function in_sample
returns in-sample predictions from a praislm
or a twoStepsBenchmark object.
in_sample(object, type = "changes")
object |
an object of class |
type |
|
The functions plot
and autoplot
can be used on this object to produce
graphics.
The predicted values are different from the fitted values :
they are eventually reintegrated.
they contain the autocorrelated part of the residuals.
Besides, changes are relative to the latest benchmark value, not the latest predicted value.
a named matrix time series of two columns, one for the response and the other
for the predicted value.
A "tscomparison"
class is added to the object.
in_disaggr in_revisions in_scatter plot.tscomparison
benchmark <- twoStepsBenchmark(turnover,construction,include.rho = TRUE)
plot(in_sample(benchmark))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.