- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm estimating the health indicators among provincial populations, and would like to compare them with the estimations from total population in Canada. So, the populations samples would be dependent, since the provincial populations are included in the total sample size. Is there any t-test I can do in SAS? Or in SUDAAN?
Thank you,
Mandana
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Yes, SURVEYREG should be able to do the statistical test you have asked for.
If you add the SOLUTION option to the MODEL statement, it will compare the regression coefficient to zero ... which in this case, is statistically the same as comparing the mean of a group (province mean) to the overall mean (national mean). Here is an example (but you have to add in the SOLUTION option):
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_surveyreg_examples08.htm
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Are you assuming that the national numbers are known, and you are estimating the provincial numbers from your sample of the population?
Or are you estimating both national and provincial numbers from a sample?
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I have the national numbers and then categorize it to the provincial samples by an index.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Yes, but are the national numbers from the same study as the provincial numbers? Or can you assume that wherever these national numbers come from, they are "fixed" or "known"?
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
We have a sample represents national number and we disaggregate it using an index. In this way, we are comparing sub sample vs sample or doing overlapping comparison. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I don't know what this means:
We have a sample represents national number and we disaggregate it using an index.
Can you explain how the study was conducted and how the statistics are arrived at?
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Let's say it in this way:
we have a sample of a population and then disaggregate it to sub samples. How to do the test of significant between the estimations for sample vs subsample? For example, we have a sample of population and calculate the average blood pressure for the population. Then, we disaggregate the population by age and estimate the average blood pressure for each age group. Finally, we would like to test whether the difference in average blood pressure between each age group vs the total population is significant. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
A common test is the One-way Analysis of Variance test, where you compare each group's mean to the overall mean. However, since you are working with survey data, I think PROC SURVEYMEANS would work. Here is an example that is similar to yours: https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_surveymeans_examples06.htm
I believe you can also get the exact statistical tests you want from PROC SURVEYREG with a CLASS statement and the SOLUTION option in the MODEL statement.
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the response.
The example you sent is the test between the subgroups. I need to test the total group vs the subgroups.
I found this one but not quite sure whether ANOM is for survey data or not.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@mandan414 wrote:
The example you sent is the test between the subgroups. I need to test the total group vs the subgroups.
I disagree. If you scroll down, you will see plots where clearly each group are compared to the full sample.
I found this one but not quite sure whether ANOM is for survey data or not.
I don't think ANOM exists in the survey case. But PROC SURVEYREG will produce statistical tests of the group means to the overall mean.
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
You mean we can use PROC SURVEYREG for the test of significant for the proportion estimations of total sample vs subsample?
I used PROC SURVEYREG for the test of association before but not for the cases like this. Sorry, I'm not an statistician and my questions may seem basic.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Yes, SURVEYREG should be able to do the statistical test you have asked for.
If you add the SOLUTION option to the MODEL statement, it will compare the regression coefficient to zero ... which in this case, is statistically the same as comparing the mean of a group (province mean) to the overall mean (national mean). Here is an example (but you have to add in the SOLUTION option):
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_surveyreg_examples08.htm
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
How about I want to do the comparison of proportions as well. For example the proportions of sub populations with university education vs the proportions of total population with university education. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
PROC SURVEYLOGISTIC
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you!