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

RE: st: aweights


From   "Terra Curtis" <terra.curtis@cambridgefinance.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: aweights
Date   Mon, 29 Aug 2005 17:35:13 -0400

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: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Keith Dear
Sent: Monday, August 29, 2005 5:30 PM
To: statalist@hsphsun2.harvard.edu
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/



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