Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Weighted summary table in STATA


From   "Michael N. Mitchell" <Michael.Norman.Mitchell@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Weighted summary table in STATA
Date   Tue, 08 Jun 2010 09:43:20 -0700

Dear Ali

  First off, you will want to determine the "kind" of weight that you have. You can see

http://www.stata.com/help.cgi?pweight

  which talks about the different kinds of weights.

Say that you determine that your weights are -pweights- and your weight variable is named -wt-. You can use such weights in an OLS regression like this...

. regress y x1 x2 x3 [pw=wt]

I hope this helps,

Michael N. Mitchell
Data Management Using Stata      - http://www.stata.com/bookstore/dmus.html
A Visual Guide to Stata Graphics - http://www.stata.com/bookstore/vgsg.html
Stata tidbit of the week         - http://www.MichaelNormanMitchell.com



On 2010-06-08 9.07 AM, Ali Delpisheh wrote:
Hello,

I was able to produce a summary table using OUTREG2. But they are not
weighted. I am running weighted regressions. How can I make them
weighted?

Thank you,
Ali
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index