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
Trying to calculate time length for hospital episodes of multiple consec. rows, but also multiple nested within one 'person'Hi STATALIST, First time poster here. I am hoping someone can assist with my hospital record data ca…
Set colorsSorry, I have asked this before. But now I have two computers and have spend an hour with help and t…
mata mlib createI'm having trouble with mata mlib create . I can't see to get a mata library set up anywhere …
Changes in Control/Treatment groups after PSMDear friends, Hi. As in the previous post, Hi All, In case anyone viewing this thread is inte…
Find value starting with a pattern ( similar to LIKE operator in SQL)Hello ALL, I am new to Stata, I have a small doubt, Any Help would be greatly appreciated. TABLE1(…
Subscribe to:
Post Comments (Atom)
0 Response to non linear estimation with hundreds of variables
Post a Comment