280 likes | 467 Views
Ch9. Inferences Concerning Proportions . Outline. Estimation of Proportions Hypothesis concerning one Proportion Hypothesis concerning several proportions Analysis of r*c tables Goodness of fit. Estimation.
E N D
Outline • Estimation of Proportions • Hypothesis concerning one Proportion • Hypothesis concerning several proportions • Analysis of r*c tables • Goodness of fit
Estimation • In acceptance sampling we are concerned with the proportion of defectives in a lot, and in life testing we are concerned with the percentage of certain components which will perform satisfactorily during a stated period of time. • It should be clear from these examples that problems concerning proportions, percentages, or probabilities are really equivalent.
Estimation • The point estimator of the population proportion, itself, is usually the sample proportion X/n. • If the n trials satisfy the assumptions underlying the binomial distribution(P105), we know the mean and the standard deviation of the number of success is given by and
Estimator • The mean and the standard deviation of the proportion of success (namely, of the sample proportion) are given by and The first of these results shows that the sample proportion is an unbiased estimator of the binomial parameter p.
Confidence interval • Construction of confidence interval for the binomial parameter p (estimator). • We first define and such that and Thus, we assert with a probability of approximate , and at least , that the inequality
EX • Suppose we want to find approximate 95% confidence interval for p for samples of size n=20. and can be determined by
For n is large • We construct approximate confidence intervals for the binomial parameter p by using the normal approximation to the binomial distribution. With the probability This yields
EX. • If x=36 of n=100 persons interviewed are familiar with the tax incentives for installing certain energy-saving devices, construct a 95% confidence interval for the corresponding true proportion. • Solution: x/n =36/100=0.36 hence
Maximum error • The error when we use X/n as estimator of p is given by |X/n -p| • Again using the normal distribution, we can assert with probability that the inequality Maximum error of estimate
EX • In a sample survey conducted in a large city, 136 of 400 persons answered yes to the question of whether their city’s public transportation is adequate. With 99% confidence, what can we say about the maximum error if x/n=0.36 is used as an estimate of the corresponding true proportion?
Sample size determine If p is known If p is unknown
9.2 Hypothesis • The test of null hypothesis that a proportion equals some specified constant is widely used in sampling inspection, quality control, and reliability verification. Statistic for large sample test concerning p Null hypothesis
EX • In a study designed to investigate whether certain detonator used with explosives in coal mining meet the requirement that at least 90% will ignite the explosive when charged, it is found that 174 of 200 detonators function properly. Test the null hypothesis p=0.9 again the alternative p<0.9 at the 0.05 level of significance.
Solution • 1. Null hypothesis: Alternative hypothesis 2. Level of significance: 0.05 • Criterion: Reject the null hypothesis if Z<-1.645 4. Calculation: 5. The null hypothesis cannot be rejected. 6. P-value: 0.079 > level of significance 0.05
Hypothesis concerning several proportions • We compare the consumer response to two different products, when we decide whether the proportion of defectives of a given process remains constant from day to day. • Testing
Large-sample test • We require independent random samples of size if the corresponding number of successes are the test we should use is based on the fact that • Large samples the sampling distribution of is approximately the standard normal distribution • The square of random variable having the standard normal distribution with 1 degree of freedom • The sum of k independent random variables having chi-square distribution with 1 degree of freedom is a random variable having the chi-square distribution with k degrees of freedom. (Proves are not required)
Cont. Is a value of random variable having approximately the chi-square distribution with k degrees of freedom. In practice, we substitute for the pi, which under the null hypothesis are all equal, the pooled estimate
The null hypothesis should be rejected if the difference between the and are large, the critical region is where the number of degrees of freedom is k-1. Another approach
Define the observed cell frequency The expected number of successes and failures for the j-th sample are estimated by and thus
Samples of three kind of materials, subjected to extreme temperature changes, produced the results should in the following table Use the 0.05 level of significance to test whether, the probability of crumbling is the same of the three kinds of materials.
Solution • 1. Null hypothesis: Alternative hypothesis: are not all equal 2. Level of significance: 0.05 • Criterion: Reject the null hypothesis if , degree 2 4. Calculation: 5. The null hypothesis cannot be rejected.
Statistics for test concerning difference between two proportions For large samples, is a random variable having approximately the standard normal distribution. Confidence interval for the values of
9.4 Analysis of r*c tables • The key random variable is chi-square distribution with (r-1)(c-1) degrees of freedom
9.5 Goodness of fit • Goodness of fit: try to compare an observed frequency distribution with the corresponding values of an expected, or theoretical, distribution. is a random variable has the chi-square distribution with k-m degrees of freedom, where k is the number of terms in the formula and m is the number of quantities, obtained from the observed data that are needed to calculate the expected frequencies.
EX • Page 312~313.