Sampling Distribution of the Sample Proportion Let p
![](https://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-1.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-2.jpg)
![Sampling Distribution of the Sample Proportion • Let p denote the proportion of items Sampling Distribution of the Sample Proportion • Let p denote the proportion of items](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-3.jpg)
Sampling Distribution of the Sample Proportion • Let p denote the proportion of items in a population that possess a certain characteristic (unemployed, income below poverty level). • To estimate p, we take a random sample of n observation from the population and count the number X of items in the sample that possess the characteristic. • The sample proportion p^ = X/n is used to estimate the population proportion p. 社會統計(上) ©蘇國賢 2007 3
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-4.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-5.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-6.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-7.jpg)
![The Bernoulli Distribution 定 義 • P(X=1) = p • P(X=0) = (1 -p) The Bernoulli Distribution 定 義 • P(X=1) = p • P(X=0) = (1 -p)](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-8.jpg)
The Bernoulli Distribution 定 義 • P(X=1) = p • P(X=0) = (1 -p) • If we let q = 1 - p, then the p. f of X can be written as follows: 社會統計(上) ©蘇國賢 2007 8
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-9.jpg)
![Sampling Distribution of the Sample Proportion • The Normal Approximation Rule for Proportion: Let Sampling Distribution of the Sample Proportion • The Normal Approximation Rule for Proportion: Let](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-10.jpg)
Sampling Distribution of the Sample Proportion • The Normal Approximation Rule for Proportion: Let p denote the proportion of a population possessing some characteristics of interest. Take a random sample of n observations from the population. Let X denote the number of items in the sample possessing the characteristic. We estimate the population proportion p by the sample proportion p^=X/n. If np 5, and nq 5, the random variable p^ has approximately a normal distribution with: 社會統計(上) ©蘇國賢 2007 10
![Sampling Distribution of the Sample Proportion • 證明 社會統計(上) ©蘇國賢 2007 11 Sampling Distribution of the Sample Proportion • 證明 社會統計(上) ©蘇國賢 2007 11](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-11.jpg)
Sampling Distribution of the Sample Proportion • 證明 社會統計(上) ©蘇國賢 2007 11
![Sampling Distribution of the Sample Proportion • 證明 assume X 1, X 2…Xn independent Sampling Distribution of the Sample Proportion • 證明 assume X 1, X 2…Xn independent](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-12.jpg)
Sampling Distribution of the Sample Proportion • 證明 assume X 1, X 2…Xn independent 社會統計(上) ©蘇國賢 2007 12
![Sampling Distribution of the Sample Proportion • If the distribution of p^ is approximately Sampling Distribution of the Sample Proportion • If the distribution of p^ is approximately](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-13.jpg)
Sampling Distribution of the Sample Proportion • If the distribution of p^ is approximately normal, and 社會統計(上) ©蘇國賢 2007 13
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-14.jpg)
![例題 • Of your first 15 grandchildren, what is the chance there will be 例題 • Of your first 15 grandchildren, what is the chance there will be](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-15.jpg)
例題 • Of your first 15 grandchildren, what is the chance there will be more than 10 boys? (assume equal probability of male/female) • “more than 10 boys” ”the proportion of boys is more than 10/15” • Use the Normal Approximation Rule: 社會統計(上) ©蘇國賢 2007 15
![Confidence intervals for proportions (large samples) we know that p^ ~N(p, pq/n) , where Confidence intervals for proportions (large samples) we know that p^ ~N(p, pq/n) , where](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-16.jpg)
Confidence intervals for proportions (large samples) we know that p^ ~N(p, pq/n) , where q = 1 -p and np≧ 5 and nq≧ 5) 社會統計(上) ©蘇國賢 2007 16
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-17.jpg)
![Confidence intervals for proportions (large samples) 上面的公式必須要有母體比例p才能估計標準誤 社會統計(上) ©蘇國賢 2007 18 Confidence intervals for proportions (large samples) 上面的公式必須要有母體比例p才能估計標準誤 社會統計(上) ©蘇國賢 2007 18](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-18.jpg)
Confidence intervals for proportions (large samples) 上面的公式必須要有母體比例p才能估計標準誤 社會統計(上) ©蘇國賢 2007 18
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-19.jpg)
![Confidence interval for the population proportion p 定 義 Let p denote the population Confidence interval for the population proportion p 定 義 Let p denote the population](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-20.jpg)
Confidence interval for the population proportion p 定 義 Let p denote the population proportion. Suppose we take a large random sample of n observations and obtain the sample proportion p^. A confidence interval for the population proportion having level of confidence 100(1 -α)% is given by 社會統計(上) ©蘇國賢 2007 20
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-21.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-22.jpg)
![Wilson estimate We must know the s. d. of the population to get a Wilson estimate We must know the s. d. of the population to get a](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-23.jpg)
Wilson estimate We must know the s. d. of the population to get a CI for p. • Unfortunately, modern computer studies reveal the confidence intervals based on this approach can be quite inaccurate, even for large samples. -- When the sample is not a SRS. -- When the sample size is small 社會統計(上) ©蘇國賢 2007 23
![Wilson estimate • The Wilson estimate ~ Add 2 successes and 2 failures (so Wilson estimate • The Wilson estimate ~ Add 2 successes and 2 failures (so](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-24.jpg)
Wilson estimate • The Wilson estimate ~ Add 2 successes and 2 failures (so that the sample proportion is slightly moved away from 0 and 1. ) -- Because this estimate was first suggested by Edwin Bidwell Wilson in 1927, we call it the Wilson estimate. 社會統計(上) ©蘇國賢 2007 24
![Wilson estimate 的抽樣分配趨近於平均數為p、標準差為 的常態分配。 • An approximate level C confidence interval for p is Wilson estimate 的抽樣分配趨近於平均數為p、標準差為 的常態分配。 • An approximate level C confidence interval for p is](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-25.jpg)
Wilson estimate 的抽樣分配趨近於平均數為p、標準差為 的常態分配。 • An approximate level C confidence interval for p is • • The margin of error is 社會統計(上) ©蘇國賢 2007 25
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-26.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-27.jpg)
![One-sided confidence intervals for the population proportion Suppose that we take a random sample One-sided confidence intervals for the population proportion Suppose that we take a random sample](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-28.jpg)
One-sided confidence intervals for the population proportion Suppose that we take a random sample of n observations from some population having unknown proportion p. Suppose we wish to find the lower confidence limit LCL such that the probability is (1 ) that p exceeds LCL. The one-sided interval (LCL, 1. 00) is a left-sided confidence interval. The LCL is given by: 社會統計(上) ©蘇國賢 2007 28
![One-sided confidence intervals for the population proportion Construct a right-sided 95% CI for the One-sided confidence intervals for the population proportion Construct a right-sided 95% CI for the](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-29.jpg)
One-sided confidence intervals for the population proportion Construct a right-sided 95% CI for the proportion of defective items produced by a machine if 16 items are found to be defective in a random sample of 100 items. The 95% right-sided CI for p is (0, . 2306) This mean that we can be 95% confident that the population proportion is less than. 2306 29 社會統計(上) ©蘇國賢 2007
![Determining the sample size決定樣本大小 Margin of Error Suppose that we take a random sample Determining the sample size決定樣本大小 Margin of Error Suppose that we take a random sample](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-30.jpg)
Determining the sample size決定樣本大小 Margin of Error Suppose that we take a random sample from some population. Then a 100(1 - )% confidence interval for the population proportion extends at most a distance m on each side of the sample proportion if the number of observations is ? 社會統計(上) ©蘇國賢 2007 30
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-31.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-32.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-33.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-34.jpg)
![Tests of the population proportion 樣本比例的抽樣分配 f(p^):如果母體的 比例為p, 且np 5 and nq 5, 則樣本比 Tests of the population proportion 樣本比例的抽樣分配 f(p^):如果母體的 比例為p, 且np 5 and nq 5, 則樣本比](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-35.jpg)
Tests of the population proportion 樣本比例的抽樣分配 f(p^):如果母體的 比例為p, 且np 5 and nq 5, 則樣本比 例p^為一常態分配~N(p, pq/n) The Normal Approximation Rule for Proportion: If np 5, and nq 5, the random variable p^ has approximately a normal distribution with: 社會統計(上) ©蘇國賢 2007 35
![Sampling Distribution of the Sample Proportion • If the distribution of p^ is approximately Sampling Distribution of the Sample Proportion • If the distribution of p^ is approximately](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-36.jpg)
Sampling Distribution of the Sample Proportion • If the distribution of p^ is approximately normal, then random variable 社會統計(上) ©蘇國賢 2007 36
![Tests of the population proportion 設np 5 and nq 5 檢證下列假說: H 0: p Tests of the population proportion 設np 5 and nq 5 檢證下列假說: H 0: p](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-37.jpg)
Tests of the population proportion 設np 5 and nq 5 檢證下列假說: H 0: p = p 0 or H 0: p p 0 H 1: p < p 0 如果H 0為真,則樣本比率~N(p 0, p 0 q 0/n) 假設為真時的母體比例 Reject H 0 if Z < -z or p^ < p^* (critical value approach) 社會統計(上) ©蘇國賢 2007 37
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-38.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-39.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-40.jpg)
![Page 614, Procedure 12. 2 B (cont. ) 社會統計(上) ©蘇國賢 2007 41 Page 614, Procedure 12. 2 B (cont. ) 社會統計(上) ©蘇國賢 2007 41](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-41.jpg)
Page 614, Procedure 12. 2 B (cont. ) 社會統計(上) ©蘇國賢 2007 41
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-42.jpg)
![例:Testing a population Proportion Solution: If H 0 is true, then p^ has a 例:Testing a population Proportion Solution: If H 0 is true, then p^ has a](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-43.jpg)
例:Testing a population Proportion Solution: If H 0 is true, then p^ has a normal distribution with mean p =. 6 and variance pq/n = (. 6)(. 4)/100 =. 0024 If we use a one-tailed test at the 5% level of significance, the critical region consists of all values of Z less than –z = -z. 05 = -1. 645 從樣本中得知p^=x/n = 55/100 =. 55 社會統計(上) ©蘇國賢 2007 43
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-44.jpg)
![Sampling distribution of the difference between sample proportions • Suppose we take independent sample Sampling distribution of the difference between sample proportions • Suppose we take independent sample](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-45.jpg)
Sampling distribution of the difference between sample proportions • Suppose we take independent sample of size n 1 and n 2 from two population. Let p 1 and p 2 be the proportion of items in each population that possess a certain characteristics, and let q 1=(1 p 1), q 2=(1 -p 2). If n 1 p 1>5, n 1 q 1>5, n 2 p 2>5, n 2 q 2>5, then the random variable (p 1^-p 2^) is approximately normally distributed with 社會統計(上) ©蘇國賢 2007 45
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-46.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-47.jpg)
![Confidence intervals for the difference of Two population proportion Let p 1 denote the Confidence intervals for the difference of Two population proportion Let p 1 denote the](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-48.jpg)
Confidence intervals for the difference of Two population proportion Let p 1 denote the observed proportion of successes in a random sample of n 1 observation from a population with proportion p 1 successes, and let p 2 denote the observed proportion of successes in an independent random sample of n 2 observations from a population with proportion p 2 successes. A 100(1 - α) % confidence interval for (p 1 – p 2) is given by the interval This result holds provided n 1 p 1≧ 5 n 1 q 1 ≧ 5 n 2 p 2≧ 5 and n 2 q 2 ≧ 5 社會統計(上) ©蘇國賢 2007 48
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-49.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-50.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-51.jpg)
![Tests concerning differences of proportions 檢定 H 0: p 1 – p 2 =0 Tests concerning differences of proportions 檢定 H 0: p 1 – p 2 =0](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-52.jpg)
Tests concerning differences of proportions 檢定 H 0: p 1 – p 2 =0 v. s. H 1: p 1 – p 2 ≠ 0 社會統計(上) ©蘇國賢 2007 52
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-53.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-54.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-55.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-56.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-57.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-58.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-59.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-60.jpg)
![](http://slidetodoc.com/presentation_image/520f3bf0a03c4906f35cf7faf86b76dc/image-61.jpg)
- Slides: 61