Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: aweights


From   Keith Dear <[email protected]>
To   [email protected]
Subject   Re: st: aweights
Date   Tue, 30 Aug 2005 07:30:18 +1000

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index