3.5 Attribute Proportion Estimation for a Stratified Population

3.5 Attribute Proportion Estimation for a Stratified Population • Suppose the goal is to estimate the population proportion p = t/N where t is the n...
Author: Leona Ross
48 downloads 0 Views 316KB Size
3.5

Attribute Proportion Estimation for a Stratified Population

• Suppose the goal is to estimate the population proportion p = t/N where t is the number of units in the population possessing the attribute. • Consider the indicator function that assigns to each sampling unit the following yhj value: yhj = 1 = 0

if unit i in stratum h possesses the attribute otherwise

Nh 1 X • Let ph = yhj = proportion of stratum h units that possess the attribute. Then Nh j=1

t =

Nh H X X

yhj

H H Nh X 1 XX Nh p = yhj = ph . N h=1 j=1 N h=1

and

h=1 j=1

nh 1 X • Because each ph is unknown, we can estimate ph with pbh = yhj = the sample nh j=1 proportion of units from stratum h that possess that attribute.

• Because each sample proportion pbh is an unbiased estimator of stratum proportion ph , an unbiased estimator pbstr of the population proportion p is a weighted average of the pbh ’s: pbstr =

=

H X

Wh pbh

where

h=1

• Recall: for SRS attribute sampling, S 2 =

N p(1 − p) . Because we are taking a SRS, N −1

Sh2 =    N − n S2 N − n p(1 − p) = . • Recall: for SRS attribute sampling: V (b p) = N n N −1 n Thus,     Nh − nh ph (1 − ph ) Nh − nh Sh2 = . V (b ph ) = Nh nh Nh − 1 nh 

• By pooling the stratum variances: V (b pstr ) =

H X

Wh2

V (b ph ) =

h=1

=

H X h=1

H X h=1

Wh2



Nh − nh Nh − 1

59



Wh2



Nh − nh Nh

ph (1 − ph ) nh



Sh2 nh (33)

• Recall: for SRS attribute sampling: s2 =

nb p(1 − pb) . Thus, s2h = n−1

• Because Sh2 is unknown, we use s2h to get the unbiased estimator of the variance in (33):   2   H H X X N − n s pbh (1 − pbh ) N − n n h h h h 2 2 Vb (b pstr ) = Wh = (34) Wh N n N n h h h h−1 h=1 h=1 • To generate a confidence interval for p, calculate q pbstr ± t∗ Vb (b pstr )

(35)

where t∗ is the upper α/2 critical value from the t(d) distribution. In this case, d is Satterthwaite’s approximate degrees of freedom d (see equation (32)). • For larger sample sizes, some people use z ∗ instead of t∗ . • Sample Size Determination: You can use the same sample size formulas defined earlier for estimating y U for a stratified SRS. Stratification Example using Longleaf Pine Data Data • This 200 × 200 m study region is located in an old-growth forest in Thomas County, Georgia, USA. The region has been divided into a 20 × 20 grid of 10 m ×10 m quadrats. This data represents the presence=1 or absence=0 (Table 6) of longleaf pine trees located in each quadrat. The population proportion p = 249/400 = 0.6225. • The longleaf pine census data will be stratified into four 10 × 10 strata. The stratum sample sizes are nh = 10 for h = 1, 2, 3, 4. The values in parentheses are the sampled quadrats. Figure 6: The Presence or Absence of Longleaf Pine 1 1 1 1 (1) 1 1 (0) 0 0 (1) 1 0 1 0 1 1 1 1 1 1 0 1 0 0 0 1 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 0 (0) 0 1 1 0 1 1 1 1 1 1 0 1 1 0 0 0 (0) (0) (1) 1 1 1 1 (0) 0 0 1 1 1 1 0 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 0 0 0 1 1 1 (0) 1 1 1 0 1 1 1 0 0 1 0 0 (1) 1 1 1 1 1 0 1 0 1 0 (1) 1 0 1 (1) 0 0 1 1 1 1 1 1 1 1 0 1 0 0 1 1 1 0 0 0 1 1 1 1 1 1 1 1 1 1 (0) 0 1 1 0 1 0 0 (0) 0 1 0 1 1 1 (1) 1 0 1 0 1 0 (1) 1 1 1 1 1 1 0 1 0 1 0 1 1 0 0 1 1 1 1 0 1 1 0 (0) 1 (1) 1 (0) 0 0 1 1 1 0 1 1 1 0 0 0 1 0 1 1 1 1 1 1 0 0 1 1 1 1 0 0 1 (0) 0 1 (1) 0 1 1 1 1 0 0 (1) 1 1 1 0 1 0 0 1 1 0 (0) 0 (1) 1 1 1 1 1 0 0 1 0 0 (1) 0 1 1 0 1 1 0 1 0 0 1 0 0 1 1 1 0 0 0 1 1 1 0 0 0 0 0 1 1 (0) 1 1 1 (1) 1 0 0 1 0 1 0 1 0 0 1 1 1 0 0 0 (1) 1 0 0 0 0 0 0 (0) 1 1 1 0 1 0 1 0 (1) 0 1 1 0 0 0 0 0 0 (0) 1 1 0 (1) 1 0 0 1 0 1

60

0 1 0 1 1 (1) 1 0 1 1 1 (1) (1) 0 1 1 1 0 (1) 0 (1) 1 1 1 1 1 (1) 1 (0) 0 1 (1) 1 1 1 0 1 0 1 1

3.5.1

Using R and SAS to Analyze a Stratified SRS for a Proportion

R Code to Analyze a Stratified SRS for a Proportion source("c:/courses/st446/rcode/confintt.r") # t-based confidence intervals for SRS in Figure 6 library(survey) pa

Suggest Documents