Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: basic question on estimates


From   Christopher F Baum <[email protected]>
To   [email protected]
Subject   st: Re: basic question on estimates
Date   Wed, 27 Sep 2006 10:19:28 -0400

On Sep 27, 2006, at 2:33 AM, Pancho wrote:

The problem with "statsby" is that if the regression is weighted, it
doesn't work.  And my regressions are weighted.  It seems that
"statsby" works with plain vanilla OLS regressions, but not for other
procedures I'm using.
This assertion is incorrect:

. statsby _b, by(rep78): reg price mpg [aw=trunk]
(running regress on estimation sample)

command: regress price mpg [aweight= trunk]
by: rep78



Works fine with weights (or any other regression options; statsby is just a wrapper).

Kit

*
* 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