Page 1 of 1

simulation

Posted: Thu Feb 04, 2010 4:29 am
by saali5984
hi
in folowing simulation programe i want To repeat the exercise using maximum liklihood methodon what i do?
its = 1000
!t = 200
create u !t
matrix(2,!its) res1
series x = rnd*20
series e= 4*nrnd
for !i=1 to !its
genr ys= -9 + 1*x+ e
series y = @recode(ys<0,0,ys)
equation eq1.ls y c x
colplace(res1,eq1.@coefs,!i)
next

Re: simulation

Posted: Thu Feb 04, 2010 9:02 am
by EViews Gareth
I'm afraid I don't understand the question. What ML method do you want to use?