number of simulated values

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

lisa
Posts: 45
Joined: Thu Jul 28, 2011 3:27 pm

number of simulated values

Postby lisa » Thu Aug 25, 2011 2:19 am

hello,
when I simulate a VAR model
smpl @all
genr u1=0.36*nrnd
genr u2=0.4+0.75*nrnd
smpl @first+1 @last
x=0.5*x(-1)+0.47*z(-1)+u1
z=0.2*x(-1)+0.9*z(-1)+u2
I need 1000 observations, but when I run the model a message appears "oveflow in x=0.5*x(-1)+0.47*z(-1)+u1" and only 200 observations are simulated and the rest are shown as NA.
please how can I obtain the 1000 observations.
NB: the parameters of the normal distribution of u1 and u2 are arbitrary (if it's necessary I can change the mean and the variance of u1 and u2)
thanks.

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: number of simulated values

Postby trubador » Thu Aug 25, 2011 3:59 am

That is because your model is not stationary. Try smaller values for the coefficents. For instance, you can assign a different value (e.g. something smaller than 0.80) to the coefficent of z(-1) in the second equation...


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests