Dear all,
I am trying to run a non linear estimation of beta in the following specification:
yi = ln(x1(z1)^beta + x2(z2)^beta + ... + xn(zn)^beta)
There are 400 pairs of xjand zj. It would be almost impossible to write the nl command manually.
Presumably it can be done quite easily with loops in Stata?
I am very new to this. I would be really grateful if you let me know how to loop it within the nl command in Stata, or any ways to do it.
Many thanks!
DS
0 Response to non linear estimation with hundreds of variables
Post a Comment