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
Related Posts with non linear estimation with hundreds of variables
Change all the values to zero for a certain period of time Hello! I'd like to get some advice. I have the following forms of data. I'd like to change all the…
Heckman correction for one of the variables in an indexHi, I'd like to estimate treatment effects on an index variable constructed using three variables. …
Dotplot with multiple variablesHello, I am trying to create a way to display a data index I have created for coral rugosity (data …
Interpretation of coefficients in LPMDear all, Perhaps a very basic question, but all the online resources I have looked at so far give …
Error r(2000), No Observation Hello Community, I am trying to run the Probit command with many DVs for different years, I keep r…
Subscribe to:
Post Comments (Atom)
0 Response to non linear estimation with hundreds of variables
Post a Comment