Maybe without the "s"?
nl nissimconst OIa real8 lagOIa x1 x4 [aweight=real8]
At 07:35 AM 30/8/05, you wrote:
Hmm, this is the output I get without the comma:
nl nissimconst OIa real8 lagOIa x1 x4 [aweights=real8]
aweights unknown weight type
r(198);
end of do-file
r(198);
Any other ideas?
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Keith Dear
Sent: Monday, August 29, 2005 5:30 PM
To: [email protected]
Subject: Re: st: aweights
Try it without the comma:
nl nissimconst OIa real8 lagOIa x1 x4 [aweights=real8] KD
At 07:27 AM 30/8/05, you wrote:
>Dear Stata list users,
>
>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?
>
>Thanks much.
>Terra
>
>*
>* 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/
==========================================================
Dr Keith B.G. Dear
Senior Fellow in Biostatistics
National Centre for Epidemiology and Population Health (NCEPH) The
Australian National University Canberra, ACT 0200, Australia
Tel: 02 612 54865, Fax: 02 612 50740
http://nceph.anu.edu.au/Staff_Students/staff_pages/dear.php
CRICOS provider #00120C
*
* 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/
*
* 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/
==========================================================
Dr Keith B.G. Dear
Senior Fellow in Biostatistics
National Centre for Epidemiology and Population Health (NCEPH)
The Australian National University
Canberra, ACT 0200, Australia
Tel: 02 612 54865, Fax: 02 612 50740
http://nceph.anu.edu.au/Staff_Students/staff_pages/dear.php
CRICOS provider #00120C
*
* 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/