Description Usage Arguments Value Examples
Simulate PL MIDAS regression model
1 2 3 4 5 6 7 8 9 10 11 | midas_pl_sim(
n,
m,
theta,
gfun,
ar.x,
ar.y,
rand.gen = rnorm,
n.start = NA,
...
)
|
n |
number of observations to simulate. |
m |
integer, frequency ratio |
theta |
vector, restriction coefficients for high frequency variable |
gfun |
function, a function which takes a single index |
ar.x |
vector, AR parameters for simulating high frequency variable |
ar.y |
vector, AR parameters for AR part of the model |
rand.gen |
function, a function for generating the regression innovations, default is |
n.start |
integer, length of a 'burn-in' period. If NA, the default, a reasonable value is computed. |
... |
additional parameters to rand.gen |
a list
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.