Hello,
So I have searched the Stata forums and internet for this issue and haven't found anything that fits precisely what I want to do, so I thought I would describe it here and see if anyone has any advice.
I have a set of analyses that I am running with a couple of different dependent variables on the GSS. Unfortunately, these are survey questions that were asked on completely different ballots. Since I can't use the same sample for both outcomes, I want to demonstrate that the samples are similar on my controls and predictors. For example, I want to make sure that my samples have similar education levels, similar racial breakdowns and so on. I thought about using an unpaired t-test, but the problem is that I cannot do a t-test with weights. I am using the GSS recommended weight of wtssall.
I have seen some previous examples where people use svy commands to be able to use weights and then a regression command, but again the issue is that isn't running an unpaired test. I need an unpaired t-test, since my samples are a completely different set of respondents.
My hope is that since these ballots are randomly assigned, these samples should be very similar, but I want to demonstrate this. Am I on the right track in thinking that I could run some sort of unpaired t-tests with weights to show this? I was going to run t-tests for each of my variables and see if the mean value of these are different between my samples.
If this is correct, how can I do a t-test (or something equivalent) that is both unpaired and allows weights?
Thanks,
George
So I have searched the Stata forums and internet for this issue and haven't found anything that fits precisely what I want to do, so I thought I would describe it here and see if anyone has any advice.
I have a set of analyses that I am running with a couple of different dependent variables on the GSS. Unfortunately, these are survey questions that were asked on completely different ballots. Since I can't use the same sample for both outcomes, I want to demonstrate that the samples are similar on my controls and predictors. For example, I want to make sure that my samples have similar education levels, similar racial breakdowns and so on. I thought about using an unpaired t-test, but the problem is that I cannot do a t-test with weights. I am using the GSS recommended weight of wtssall.
I have seen some previous examples where people use svy commands to be able to use weights and then a regression command, but again the issue is that isn't running an unpaired test. I need an unpaired t-test, since my samples are a completely different set of respondents.
My hope is that since these ballots are randomly assigned, these samples should be very similar, but I want to demonstrate this. Am I on the right track in thinking that I could run some sort of unpaired t-tests with weights to show this? I was going to run t-tests for each of my variables and see if the mean value of these are different between my samples.
If this is correct, how can I do a t-test (or something equivalent) that is both unpaired and allows weights?
Thanks,
George
Comment