Dear team,
i was trying to run a monte carlo for the following DGP

got stuck as i was creating the code
Kindly help
here is the code i was attempting to create before i got stuck
set seed 20170314
set obs 3
gen firmid= _n
expand 10
bys firmid: gen year=_n
gen psi =rnormal(0,1) // panel level effect
gen epsilon=rnormal(0,1)
scalar a1 = 1
scalar a2 = 2
scalar a3 = 3
scalar b=0.5
i was trying to run a monte carlo for the following DGP
got stuck as i was creating the code
Kindly help
here is the code i was attempting to create before i got stuck
set seed 20170314
set obs 3
gen firmid= _n
expand 10
bys firmid: gen year=_n
gen psi =rnormal(0,1) // panel level effect
gen epsilon=rnormal(0,1)
scalar a1 = 1
scalar a2 = 2
scalar a3 = 3
scalar b=0.5

Comment