[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Finite population correction when testing equality of two proportions
At 09:41 PM 4/1/2005 +0200, Fredrik Nyberg wrote:
Hi all Statalisters
My 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?
* For searches and help try: