I'm interesting on estimate this function
where
as shown this estimation involve in a NLLS and in particular i'm interested in estimate gamma. Since gamma is inside a recursive sum in which at each time gamma is costant but powered to differen t, I have some problem to program this nl with a sort of loop inside
The program should be something like this
forval t = 2/200 {
local call `call' i[_`j']*D_t*(1+{gamma})^`i' )
}
nl (y = {alpha0} +XXXXXXXX+ {alpha} * ln(`call'))
could you help me?
Thanks,
Alessandro
where
as shown this estimation involve in a NLLS and in particular i'm interested in estimate gamma. Since gamma is inside a recursive sum in which at each time gamma is costant but powered to differen t, I have some problem to program this nl with a sort of loop inside
The program should be something like this
forval t = 2/200 {
local call `call' i[_`j']*D_t*(1+{gamma})^`i' )
}
nl (y = {alpha0} +XXXXXXXX+ {alpha} * ln(`call'))
could you help me?
Thanks,
Alessandro