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

st: RE: t-tests for differences in means using pweights


From   "Sayer, Bryan" <BSayer@s-3.com>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: t-tests for differences in means using pweights
Date   Wed, 25 Jun 2003 18:09:56 -0400

Stack the data, do -svymean by(year) and then use lincom and test.

Bryan Sayer
Statistician, SSS Inc.

-----Original Message-----
From: Patrick Thomas Sharkey [mailto:sharkey@fas.harvard.edu] 
Sent: Wednesday, June 25, 2003 5:04 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: t-tests for differences in means using pweights


Hello All,
Please help with a simple problem that's giving me troubles.  I'd like to do
some basic t-tests for differences in means on variables from one year of a
survey to the next.  I understand the "t-test" procedure does not allow for
pweights, and I can't seem to locate any other commands that will work.  The
"svy" commands do not seem to be doing what I need.  Any thoughts out there?
Thanks in advance.

Pat Sharkey
Doctoral student in Sociology and Social Policy
Harvard University

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