Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Finite population correction when testing equality of two proportions


From   Richard Williams <Richard.A.Williams.5@nd.edu>
To   statalist@hsphsun2.harvard.edu
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 Statalisters

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?
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:

http://www.nd.edu/~rwilliam/xsoc592/lectures/TwoSample-Stata.pdf

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index