Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: nl with fixed effects

From   "Heiwai Tang" <>
To   <>
Subject   st: nl with fixed effects
Date   Wed, 10 Mar 2010 23:44:26 -0500



I am running a bunch of non-linear least square regressions involving over
100 fixed effects (countries and industries). Interactive command of "nl"
gives me an error message saying ". too long." This is a well-known problem.


I am wondering if you are so kind to share with me some sample code that
does this task. In particular, how can I call the nl evaluator without
explicitly typing up hundreds of b1, b2, b3 . in the calling command.


Can I do something like the following


nl test @ y x _I*, nparameters(200) initial({b} 1)


where {b} captures all unspecified coefficients?


Thanks in advance.


Heiwai Tang

Assistant Professor of Economics

Tufts University
*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index