Hello everyone,
Just wanted to know how to generate 500 processes of the following model:
Yt=alpha0+alpha1*Xt+Et
where Xt is an AR(1) process as: Xt=beta0+beta1*Xt-1+Ut
I have to do this for t=30, t=100 and t=500. In this case, I have to consider that Et and Ut are N(0,1), and the other parameters are alpha0=2, alpha1=0.7, beta0=1 and beta1=0.8.
I hope you can understand what I need to do.
Thanks,
Javier
Related Posts with Generating 500 AR(1) processes
Cumulative returns with asrolHi, I'm probably doing something wrong with the "asrol" syntax from Attaullah Shah. I'm not getting…
MANCOVA outliersDear all, I have performed the following Mahalanobis distance command to test for multivariate outli…
How to capture a folder path in a macroHi everyone, I intend to capture a folder path in a macro and use it later in a program to save fil…
Bringing gen() into Margins, at()Hi guys, I am trying to work with counterfactuals using margins and I'm having a hard time includin…
Error Correction Model: Specification in StataHi all, I am trying to perform an EC model but I do not know how to specify the last two elements (E…
Subscribe to:
Post Comments (Atom)
0 Response to Generating 500 AR(1) processes
Post a Comment