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   sharkey@fas.harvard.edu
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: t-tests for differences in means using pweights
Date   Thu, 26 Jun 2003 11:33:41 -0400

I don't think my original posting was clear enough.  What I have are two unique 
samples, one from the first wave of a survey and the other from the next wave.  
In each wave respondents were asked the same question, and I'm looking at 
aggregate means on this question for each wave of the survey.  I'm trying to 
determine whether the difference in the mean value of the variable among 
respondents in the first wave is significantly different from the mean among 
respondents in the second wave (after weighting the responses with pweights).  
The problem is that the samples are unique, so I can't use the "svymean" 
or "svylc" commands, but I also can't use the "ttest" command b/c it does not 
accept pweights.  I hope this is clearer than the first post below, and again I 
would appreciate any thoughts.  Thanks in advance.

Pat Sharkey
Doctoral student in Sociology and Social Policy
Harvard University


Quoting Patrick Thomas Sharkey <sharkey@fas.harvard.edu>:

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



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