





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Independent versus Dependent Sampling In order to perform inference on the difference of two population means, we must first determine whether the data come from an independent or dependent sample. A sampling method is independent when the individuals selected for one sample do not dictate which individuals are to be in a second sample. A sampling method is dependent when the individuals selected to be in one sample are used to determine the individuals to be in the second sample. Dependent samples are often referred to as matched-pairs samples. Example: Determine whether the following are independent or dependent samples.
Hypothesis Tests When analyzing matched-pairs data, we compute the difference in each matched pair and then perform inference on the differenced data in the same manner we learned early. Paired Difference: d = x 1 – x 2 If we are going to make inferences on this new data, we need statistics dealing with this type of data. Sample Mean of the Differences: d n d d
Sample Standard Deviation of the Differences: s d 1 2 2
n n d d sd d (^) is a new statistic that has a sampling distribution. E( d^ ) = d and Var( d^ ) = n d 2 To perform any sort of analysis on d , we need to make sure that d^ comes from a normal distribution When will d be normal?
A (1 - )*100% Confidence Interval for d is given by Lower Limit: n s d t / 2 d Upper Limit: n s d t / 2 d Use the above example to construct a 99% confidence interval.
We will now turn our attention to inferential methods for comparing means from two independent samples. We will discuss only the case where the population standard deviations are unknown. Sampling Distribution of the Difference of Two Means: Independent Samples with Population Standard Deviations Unknown. Suppose a simple random sample of size n 1 is taken from a population with unknown mean 1 and unknown standard deviation 1. In addition, a simple random sample of size n 2 is taken from a population with unknown mean 2 and unknown standard deviation 2. If the two populations are normally distributed or the sample sizes are sufficiently large, then
2 2 2 1 2 1 (^1212) n s n s x x t approximately follows a t-distribution with the smaller of n 1 – 1 or n 2 – 1 degrees of freedom. The hypothesis testing procedure will again be similar to what we have already done. However, now the null and alternative hypotheses will take one of the following forms: H 0 : 1 - 2 = 0 vs H 1 : 1 - 2 0 H 0 : 1 - 2 = 0 vs H 1 : 1 - 2 > 0 H 0 : 1 - 2 = 0 vs H 1 : 1 - 2 < 0
We will now discuss inferential methods for comparing two population proportions. Sampling Distribution of the Difference between Two Proportions. Suppose a simple random sample of size n 1 is taken from a population where x 1 of the individuals have a specified characteristic and a simple random sample of size n 2 is independently taken from a different population where x 2 of the individuals have a specified characteristic. The sampling distribution of p ˆ^1^ ^ p ˆ 2 is approximately normal with mean p 1 – p 2 and standard deviation 2 2 2 1 1 1 n p q n p q (^) provided that n 1 p 1 ≥ 10, n 1 q 1 ≥ 10, n 2 p 2 ≥ 10 and n 2 q 2 ≥ 10. Now that we know the approximate sampling distribution of p ˆ 1^ ^ p ˆ 2 , we can introduce a procedure that can used to test claims regarding two population proportions. Let us first consider the test statistic. It would seem logical that the test statistic would be 2 2 2 1 1 1 ˆ 1 ˆ 2 ( 1 2 ) n p q n p q p p p p Z However , when we test a hypothesis, the null hypothesis is assumed true. When comparing two population proportions, the null hypothesis will always be H 0 : p 1 – p 2 = 0. This null hypothesis is assuming that the value of p 1 equals the value of p 2. Since the null hypothesis is assumed to be true, we are assuming p 1 = p 2 = p , where p is the common population proportion.
Substituting the value of p into the equation for the test statistic, we obtain a new test statistic
1 2 1 2 1 1 ˆ ˆ n n pq p p Z We need a point estimate of p because it is unknown. The best point estimate of p is called the pooled estimate of p , denoted p ˆ^. Pooled Estimate of p 1 2 ˆ 1 2 n n x x p Hence, the test statistic we will use in hypothesis testing is
1 2 1 2 1 1 ˆ ˆ ˆ ˆ n n p q p p Z Confidence Intervals for the Difference between Two Population Proportions
2 2 2 1 1 1 1 2 / 2 ˆ ˆ ˆ ˆ ˆ ˆ n p q n p q p p z
2 2 2 1 1 1 1 2 / 2 ˆ ˆ ˆ ˆ ˆ ˆ n p q n p q p p z Notice that we do not pool the sample proportions. This is because we are not making any assumptions regarding their equality as we did in hypothesis testing. Example: On April 12, 1955, Dr. Jonas Salk released the results of clinical trials for his vaccine to prevent polio. In these clinical trials, 400,