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

st: RE: aweights


From   "Nick Cox" <[email protected]>
To   <[email protected]>
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 
[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/



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