Class: regARIMA
Monte Carlo simulation of regression model with ARIMA errors
[Y,E] =
simulate(Mdl,numObs)
[Y,E,U]
= simulate(Mdl,numObs)
[Y,E,U]
= simulate(Mdl,numObs,Name,Value)
[
simulates
one sample path of observations (Y
,E
] =
simulate(Mdl
,numObs
)Y
) and innovations
(E
) from the regression model with ARIMA time series
errors, Mdl
. The software simulates numObs
observations
and innovations per sample path.
[
additionally
simulates unconditional disturbances, Y
,E
,U
]
= simulate(Mdl
,numObs
)U
.
[
simulates
sample paths with additional options specified by one or more Y
,E
,U
]
= simulate(Mdl
,numObs
,Name,Value
)Name,Value
pair
arguments.
|
Regression model with ARIMA errors, specified as a The properties of |
|
Number of observations (rows) to generate for each path of |
Specify optional
comma-separated pairs of Name,Value
arguments. Name
is
the argument name and Value
is the corresponding value.
Name
must appear inside quotes. You can specify several name and value
pair arguments in any order as
Name1,Value1,...,NameN,ValueN
.
|
Presample innovations that have mean 0 and provide initial values
for the ARIMA error model, specified as the comma-separated pair consisting
of
Default: |
|
Number of sample paths (columns) to generate for Default: |
|
Presample unconditional disturbances that provide initial values
for the ARIMA error model, specified as the comma-separated pair consisting
of
Default: |
|
Predictor data in the regression model, specified as the comma-separated
pair consisting of The columns of Default: |
Notes
NaN
s in E0
, U0
,
and X
indicate missing values and simulate
removes
them. The software merges the presample data sets (E0
and U0
),
then uses list-wise deletion to remove any NaN
s. simulate
similarly
removes NaN
s from X
. Removing NaN
s
in the data reduces the sample size, and can also create irregular
time series.
simulate
assumes that you synchronize
presample data such that the latest observation of each presample
series occurs simultaneously.
All predictors (i.e., columns in X
)
are associated with each response path in Y
.
|
Simulated responses, returned as a |
|
Simulated, mean 0 innovations, returned as a |
|
Simulated unconditional disturbances, returned as a |
[1] Box, G. E. P., G. M. Jenkins, and G. C. Reinsel. Time Series Analysis: Forecasting and Control. 3rd ed. Englewood Cliffs, NJ: Prentice Hall, 1994.
[2] Davidson, R., and J. G. MacKinnon. Econometric Theory and Methods. Oxford, UK: Oxford University Press, 2004.
[3] Enders, W. Applied Econometric Time Series. Hoboken, NJ: John Wiley & Sons, Inc., 1995.
[4] Hamilton, J. D. Time Series Analysis. Princeton, NJ: Princeton University Press, 1994.
[5] Pankratz, A. Forecasting with Dynamic Regression Models. John Wiley & Sons, Inc., 1991.
[6] Tsay, R. S. Analysis of Financial Time Series. 2nd ed. Hoboken, NJ: John Wiley & Sons, Inc., 2005.
estimate
| filter
| forecast
| infer
| regARIMA