Chpt 10 - Estimation and Hypothesis Testing Flashcards
When using two independent samples, do the sample sizes need to be equal?
no, they can be equal or unequal
How do we know if 2 samples are independent of if we should use pairs?
We want to check whether a new drug increases memory performance, give an example of how we could set this up using an independent test and a paired test?
In an independent test, or a non-pooled t-test, the selection of sample 1 does not depend on the sample 2; it is more of a difference between two groups
A paired t-test is a one sample t-test on the difference of each pair of the two selected samples, the two samples are not independent because each observation in sample 1 is related to an observation in sample 2; it is often the a difference in a group between 2 points in time
Example: We want to check whether a new drug increases memory performance
Non-pooled t-test: You give 20 people the drug and 20 people the placebo
Paired t-test: You test the memory performance of 40 people before and after they take the medicine
What are the different hypotheses used for a non-pooled t-test?
What are the critical values for each?
Two-Tailed
μ1 ≠ μ2
Ho: μ1 - μ2 = 0
Ha: μ1 - μ2 ≠ 0
C1: -tα/2
C2: tα/2
Left-Tailed
μ1 < μ2
Ho: μ1 - μ2 => 0
Ha: μ1 - μ2 < 0
C1: -tα/2
Right Tailed
μ1 > μ2
Ho: μ1 - μ2 =< 0
Ha: μ1 - μ2 > 0
C2: tα/2
What is the test statistic for a non-pooled t-test
to =
√(s1 squared/n1)+(s2 squared/n2)
What is the short way of determining the degrees of freedom for a non-pooled t-test?
What degree of freedom would we use if:
n1 = 35
n2 = 30
df = min (n1-1, n2-1)
= min (35-1, 30-1)
= min (34, 29)
So df = 29
Determine whether the mean salaries of collage faculty in private and public institutions are different by using the two samples provided at the 5% significance level. All of the numbers in this example are in thousands of dollars
Assume that 35 faculty members from private institutions (sample 1) and 30 faculty members form public institutions (sample 2) are randomly and independently selected. Sample 1 has a mean of 88.19 and standard deviation of 26.21 . Sample 2 has a mean of 73.18 and a standard deviation of 23.45.
Set up the hypotheses
Ho: μ1 -μ2 = 0
Ha: μ1 -μ2 ≠ 0
Determine whether the mean salaries of collage faculty in private and public institutions are different by using the two samples provided at the 5% significance level. All of the numbers in this example are in thousands of dollars
Assume that 35 faculty members from private institutions (sample 1) and 30 faculty members form public institutions (sample 2) are randomly and independently selected. Sample 1 has a mean of 88.19 and standard deviation of 26.21 . Sample 2 has a mean of 73.18 and a standard deviation of 23.45.
Check assumptions
Normal distribution - We don’t have any information about the parent population but the samples are 35 and 30, so they both meat the central limit theorem
Simple random sample ✓
Independently selected ✓
Determine whether the mean salaries of collage faculty in private and public institutions are different by using the two samples provided at the 5% significance level. All of the numbers in this example are in thousands of dollars
Assume that 35 faculty members from private institutions (sample 1) and 30 faculty members form public institutions (sample 2) are randomly and independently selected. Sample 1 has a mean of 88.19 and standard deviation of 26.21 . Sample 2 has a mean of 73.18 and a standard deviation of 23.45.
Find critical values
α = 5% = 0.05
α/2 = 0.025
degrees of freedom
= min(n1-1, n2-1)
= min (35-1, 30-1)
= 29
C1 = -tα/2 = -t0.025 = -2.045
C2 = tα/2 = t0.025 = 2.045
Determine whether the mean salaries of collage faculty in private and public institutions are different by using the two samples provided at the 5% significance level. All of the numbers in this example are in thousands of dollars
Assume that 35 faculty members from private institutions (sample 1) and 30 faculty members form public institutions (sample 2) are randomly and independently selected. Sample 1 has a mean of 88.19 and standard deviation of 26.21 . Sample 2 has a mean of 73.18 and a standard deviation of 23.45.
Calculate the test statistic
to =
√(s1 squared/n1)+(s2 squared/n2)
√(26.21squared/35)+(23.45squared/30)
= 2.4363
Determine whether the mean salaries of collage faculty in private and public institutions are different by using the two samples provided at the 5% significance level. All of the numbers in this example are in thousands of dollars
Assume that 35 faculty members from private institutions (sample 1) and 30 faculty members form public institutions (sample 2) are randomly and independently selected. Sample 1 has a mean of 88.19 and standard deviation of 26.21 . Sample 2 has a mean of 73.18 and a standard deviation of 23.45.
Compare
Test statistic: 2.4363
C1; -2.045
C2: 2.045
Since to is 2.4363, it is in the rejection region, therefore we reject Ho
Determine whether the mean salaries of collage faculty in private and public institutions are different by using the two samples provided at the 5% significance level. All of the numbers in this example are in thousands of dollars
Assume that 35 faculty members from private institutions (sample 1) and 30 faculty members form public institutions (sample 2) are randomly and independently selected. Sample 1 has a mean of 88.19 and standard deviation of 26.21 . Sample 2 has a mean of 73.18 and a standard deviation of 23.45.
Interpret:
Since to is 2.4363, it is in the rejection region, therefore we reject Ho
At the 5% significance level, the data provides sufficient evidence to conclude that the mean salaries of college faculty in private and public institutions are different
When using a p value approach, when do we reject Ho?
When the p value is less than the significance level
How do we determine a confidence interval for 2 independent samples?
(x̄1-x̄2) ± tα/2√(s1squared/n1)+(s2squared/n2)
degrees of freedom = n-1
What is the test statistic for paired t-tests?
to = x̄d / (Sd/√n)
x̄d = sample mean of the sample difference
Sd = sample standard deviation
degrees of freedom = number of pairs - 1
Determine whether, in the US, the mean age of married men is older than the mean age of married women at the 5% significance level. Suppose that 10 married couples in the US are selected at random and that the ages, in years, were identified. The sum of the differences have been determined to be 36 and the sample standard deviation is 4.971.
Set up the hypotheses
Ho: μ1 - μ2 = 0
Ha: μ1 - μ2 > 0
It can also be said as:
Ho: μd = 0
Ha: μd > 0