[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: t-tests for differences in means using pweights
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.
Doctoral student in Sociology and Social Policy
Quoting Patrick Thomas Sharkey <firstname.lastname@example.org>:
> 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: