Chpt 10 - Estimation and Hypothesis Testing Flashcards

1
Q

When using two independent samples, do the sample sizes need to be equal?

A

no, they can be equal or unequal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the different hypotheses used for a non-pooled t-test?

What are the critical values for each?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the test statistic for a non-pooled t-test

A

to =

√(s1 squared/n1)+(s2 squared/n2)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

df = min (n1-1, n2-1)

= min (35-1, 30-1)

= min (34, 29)

So df = 29

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

A

Ho: μ1 -μ2 = 0

Ha: μ1 -μ2 ≠ 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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

A

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 ✓

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

A

α = 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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

A

to =

√(s1 squared/n1)+(s2 squared/n2)

√(26.21squared/35)+(23.45squared/30)

= 2.4363

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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

A

Since to is 2.4363, it is in the rejection region, therefore we reject Ho

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

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

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

When using a p value approach, when do we reject Ho?

A

When the p value is less than the significance level

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How do we determine a confidence interval for 2 independent samples?

A

(x̄1-x̄2) ± tα/2√(s1squared/n1)+(s2squared/n2)

degrees of freedom = n-1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the test statistic for paired t-tests?

A

to = x̄d / (Sd/√n)

x̄d = sample mean of the sample difference

Sd = sample standard deviation

degrees of freedom = number of pairs - 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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

A

Ho: μ1 - μ2 = 0
Ha: μ1 - μ2 > 0

It can also be said as:

Ho: μd = 0
Ha: μd > 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

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.

Check the assumptions

A

Normal distribution - the sample size of 10 is not large enough so we need to assume that the parent population is normally distributed

normal random sample

17
Q

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.

Find the critical values

A

α = 5% = 0.05

Degrees of freedom = n-1 = 10-1 = 9

tα = t0.05 = 1.833

18
Q

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.

Calculate the test statistics

A

x̄d = 36/10 = 3.6

to = x̄d / (Sd/√n)

= 3.6/(4.917/√10)

= 2.29

19
Q

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.

Compare

test statistic 2.29
C2 1.833

A

The test statistic is greater than the C2 level, so we should reject Ho

20
Q

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.

Interpret

The test statistic is greater than the C2 level, so we should reject Ho

A

At the 5% significance level, the data provides sufficient evidence to conclude that the mean age of married men is older than the mean age of married women

21
Q

What is the formula for the confidence interval for paired samples?

A

x̄d ± tα/2*Sd/√n

degrees of freedom = n-1