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
Correlation between two different samplesI have an appended dataset where one sample was assessed on one version of a math test and another s…
Splitting a string variable into two observations (but only sometimes)My data looks like this: HTML Code: coursetitle period spanish …
Multilevel (mixed): How to decide between different COV() options?Dear Statalist members, I am currently running some multi-level models. However, I wonder how to de…
esttab and ivlassoHello, I am using ivlasso to get the CHS (post-)-lasso-orthogonalized vars. I would like to export …
reorder rows from -expand-I would like the output from the -expand- command but with the rows in a different order. As a simpl…
Subscribe to:
Post Comments (Atom)
0 Response to non linear estimation with hundreds of variables
Post a Comment