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

st: RE: aweights


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: aweights
Date   Mon, 29 Aug 2005 22:45:45 +0100

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 
n.j.cox@durham.ac.uk 

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/



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