From | Richard Williams <[email protected]> |
To | [email protected] |
Subject | Re: st: Finite population correction when testing equality of two proportions |
Date | Fri, 01 Apr 2005 15:06:51 -0500 |
At 09:41 PM 4/1/2005 +0200, Fredrik Nyberg wrote:
Hi all StatalistersMy initial inclination is to go to sample 1 and code each case as 1 if not in sample 2, 2 if in sample 2. Then, use the -prtest- command to compare the 2 groups. But, my initial inclinations have been wrong before. The -prtest- command is discussed on the last page of this handout:
I am wondering about testing two proportions in the following setting:
Infinite overall population size (for all practical purposes)
Sample 1 taken from overall population
Sample 2 subsampled from sample 1
Since these are not two independent samples from the same overall population, I think I need to adjust the test by making a finite population correction somehow for sampling sample 2 from sample 1. Only I can't find any details on this nor a test that appears suitable in Stata.
Can anyone help?
What is the correct test?
Is there Stata-code available?
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |