Dear Statalister,
I estimated the population size 95%CI using Stata (with the svy command). I am using Stata version 13.
* svysetting the data
svyset [pweight=weight1], strata(mystrata) // so no clustering and analyses with replacement.
* example of my tabulate.
svy: tab var1 var2, count for(%20g) ci
However, my college is using SPSS and she thinks the estimates in SPSS are more accurate.
Although the percentages and 95%CI of these were exactly the same, when I estimate population size, the 95%CI are slightly different.
My question is: which program should I trust and why?
I am just interested in simple 2x2 tables and population sizes.
I hope you can help me!
Kind regards,
Daniela.
I estimated the population size 95%CI using Stata (with the svy command). I am using Stata version 13.
* svysetting the data
svyset [pweight=weight1], strata(mystrata) // so no clustering and analyses with replacement.
* example of my tabulate.
svy: tab var1 var2, count for(%20g) ci
However, my college is using SPSS and she thinks the estimates in SPSS are more accurate.
Although the percentages and 95%CI of these were exactly the same, when I estimate population size, the 95%CI are slightly different.
My question is: which program should I trust and why?
I am just interested in simple 2x2 tables and population sizes.
I hope you can help me!
Kind regards,
Daniela.
Comment