View source: R/regarima_outliers.R
| regarima_outliers | R Documentation |
Outlier Detection with a RegARIMA Model
regarima_outliers(
y,
order = c(0L, 1L, 1L),
seasonal = c(0L, 1L, 1L),
mean = FALSE,
X = NULL,
X.td = NULL,
ao = TRUE,
ls = TRUE,
tc = FALSE,
so = FALSE,
cv = 0,
clean = FALSE
)
y |
the dependent variable (a |
order, seasonal |
the orders of the ARIMA model. |
mean |
Boolean to include or not the mean. |
X |
user defined regressors (other than calendar). |
X.td |
calendar regressors. |
ao, ls, so, tc |
Boolean to indicate which type of outliers should be detected. |
cv |
|
clean |
Clean missing values at the beginning/end of the series. Regression variables are automatically resized, if need be. |
a "JD3_REGARIMA_OUTLIERS" object, containing input variables and results
# estimate model
model <- regarima_outliers(rjd3toolkit::ABS$X0.2.09.10.M)
# print outliers
model$model$variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.