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
Ordered probit and generalized ordered probit estimatesHi! I have an ordinal variable with four level as my dependent variable. In the regression table, I…
How to test whether the two variables are 2 standard deviation different from each other?Dear Stata experts, I have below comments from one referee for my paper, can someone guide me how t…
Aggregated data for box plotHi I am drawing a box plot. However, what I only have would be aggregated data. Mean SD Median Q1 Q3…
Estimating effect size in power calculationHello all, The answer to this question is probably no, but I had a quick question after doing a qui…
Uneven length of x axis in graph combineHi, I am trying to combine 3 coefplots using graph combine in Stata 16. I have coefficient labels o…
Subscribe to:
Post Comments (Atom)
0 Response to Generating 500 AR(1) processes
Post a Comment