Your calling syntax looks OK, apart from the placement
of the comma, already pointed out.
Beyond that, one of several issues here is what your
own program is doing with the weights.
Nick
[email protected]
Terra Curtis
> I am trying to run some nonlinear regressions and I want to
> run a weighted
> version. This is the syntax I have used:
>
> nl nissimconst OIa real8 lagOIa x1 x4, [aweights=real8]
>
> But the results are the same as when I run the line without
> aweights. i.e.:
>
> nl nissimconst OIa real8 lagOIa x1 x4
>
> Does anyone know how to properly use aweights with nl?
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/