Sunday, October 20, 2019
Confidence Interval for the Difference of Two Population Proportions
Confidence Interval for the Difference of Two Population Proportions Confidence intervals are one part of inferential statistics.à The basic idea behind this topic is to estimate the value of an unknown populationà parameter by using a statistical sample.à We can not only estimate the value of a parameter, but we can also adapt our methods to estimate the difference between two related parameters.à For example we may want to find the difference in the percentage of the male U.S. voting population who supports a particular piece of legislation compared to the female voting population. We will see how to do this type of calculation by constructing a confidence interval for the difference of two population proportions.à In the process we will examine some of the theory behind this calculation.à We will see some similarities in how we construct a confidence interval for a single population proportion as well as a confidence interval for the difference of two population means. Generalities Before looking at the specific formula that we will use, lets consider the overall framework that this type of confidence interval fits into.à The form of the type of confidence interval that we will look at is given by the following formula: Estimate /- Margin of Error Many confidence intervals are of this type. There are two numbers that we need to calculate.à The first of these values is the estimate for the parameter.à The second value is the margin of error.à This margin of error accounts for the fact that we do have an estimate.à The confidence interval provides us with a range of possible values for our unknown parameter. Conditions We should make sure that all of the conditions are satisfied before doing any calculation. To find a confidence interval for the difference of two population proportions, we need to make sure that the following hold: We have two simple random samples from large populations.à Here large means that the population is at least 20 times larger than the size of the sample. The sample sizes will be denoted by n1 and n2.Our individuals have been chosen independently of one another.There are at least ten successes and ten failures in each of our samples. If the last item in the list is not satisfied, then there may be a way around this.à We can modify the plus-four confidence interval construction and obtain robust results.à As we go forward we assume that all of the above conditions have been met. Samples and Population Proportions Now we are ready to construct our confidence interval.à We start with the estimate for the difference between our population proportions. Both of these population proportions are estimated by a sample proportion.à These sample proportions are statistics that are found by dividing the number of successes in each sample, and then dividing by the respective sample size. The first population proportion is denoted by p1.à If the number of successes in our sample from this population is k1, then we have a sample proportion of k1 / n1. We denote this statistic byà pÃâ1.à We read this symbol as p1-hat because it looks like the symbol p1 with a hat on top. In a similar way we can calculate a sample proportion from our second population.à The parameter from this population is p2.à If the number of successes in our sample from this population is k2, and our sample proportion is à pÃâ2 k2 / n2. These two statistics become the first part of our confidence interval. The estimate of p1 is pÃâ1.à The estimate of p2 is pÃâ2.à So the estimate for the difference p1 - p2 is pÃâ1 - pÃâ2. Sampling Distribution of the Difference of Sample Proportions Next we need to obtain the formula for the margin of error.à To do this we will first consider theà sampling distribution ofà pÃâ1à . This is a binomial distribution with probability of success p1 andà n1 trials. The mean of this distribution is the proportion p1.à The standard deviation of this type of random variable has variance of p1à (1 - p1à )/n1. The sampling distribution of pÃâ2 is similar to that of pÃâ1à .à Simply change all of the indices from 1 to 2 and we have a binomial distribution with mean of p2 and variance of p2 (1 - p2 )/n2. We now need a few results from mathematical statistics in order to determine the sampling distribution of pÃâ1 - pÃâ2.à The mean of this distribution is p1 - p2.à Due to the fact that the variances add together, we see that the variance of the sampling distribution is p1à (1 - p1à )/n1 p2 (1 - p2 )/n2.à The standard deviation of the distribution is the square root of this formula. There are a couple of adjustments that we need to make.à The first is that the formula for the standard deviation of pÃâ1 - pÃâ2 uses the unknown parameters of p1 and p2.à Of course if we really knew these values, then it would not be an interesting statistical problem at all.à We would not need to estimate the difference between p1 andà p2..à Instead we could simply calculate the exact difference. This problem can be fixed by calculating a standard error rather than a standard deviation.à All that we need to do is to replace the population proportions by sample proportions.à Standard errors are calculated from upon statistics instead of parameters. A standard error is useful because it effectively estimates aà standard deviation.à What this means for us is that we no longer need to know the value of the parameters p1 and p2.à .Since these sample proportions are known, the standard error is given by the square root of the following expression: pÃâ1 (1 -à pÃâ1 )/n1 à pÃâ2 (1 -à pÃâ2 )/n2. The second item that we need to address is the particular form of our sampling distribution.à It turns out that we can use a normal distribution to approximate the sampling distribution ofà pÃâ1à - pÃâ2.à The reason for this is somewhat technical, but is outlined in the next paragraph.à Both à pÃâ1 and à pÃâ2à have a sampling distribution that is binomial.à Each of these binomial distributions may be approximated quite well by a normal distribution.à Thus pÃâ1à - pÃâ2 is a random variable.à It is formed as a linear combination of two random variables.à Each of these are approximated by a normal distribution.à Therefore the sampling distribution of pÃâ1à - pÃâ2 is also normally distributed. Confidence Interval Formula We now have everything we need to assemble our confidence interval.à The estimate is (pÃâ1 - pÃâ2) and the margin of error is z* [ pÃâ1 (1 -à pÃâ1 )/n1 à pÃâ2 (1 -à pÃâ2 )/n2.]0.5.à The value that we enter for z* is dictated by the level of confidence C.à à Commonly used values for z* are 1.645 for 90% confidence and 1.96 for 95% confidence.à These values forà z* denote the portion of the standard normal distribution where exactlyà C percent of the distribution is between -z* and z*.à The following formula gives us a confidence interval for the difference of two population proportions: (pÃâ1 - pÃâ2) /- z* [ pÃâ1 (1 -à pÃâ1 )/n1 à pÃâ2 (1 -à pÃâ2 )/n2.]0.5
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.