Hypothesis Testing Flashcards

1
Q

What is the purpose of a chi-square test of independence?

A

To find out if one categorical variable is independent of another categorical variable.
For example: Is race and force used independent?

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

When do you use a chi-square goodness of fit test?

A

When you have one categorical variable and you want to test a hypothesis about its distribution.
Examples: Is the manufacturer’s claim about the distribution of M & M colors true?
Is the die fair?

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

When do you use a t-test?

A

When you have two groups and you want to compare the population means.
For example: Do people taking the new drug have lower blood pressure than people who take the old drug?

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

What is the null hypothesis for a chi-square test of independence?

A

The variables are independent.

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

What is the alternative hypothesis for a chi-square test of independence?

A

The variables are not independent.

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

How do you calculate the degrees of freedom for a chi square test of independence? For example:

A

df=(#Rows - 1) (#Columns-1)

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

How do you calculate the expected values from a contingency table? For example:

A

(Row total * Column Total)/Grand Total

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

What is the null hypothesis for a t-test for two means?

A
(This means that the population mean of the two groups are equal)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the alternative hypothesis for a two-tailed t-test?

A
(This means that the two means are not the same. In other words, they are different.)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the alternative hypothesis for a one-tailed t-test?

A
(This means that the mean of one group is less than or greater than the mean of another group.)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the null hypothesis for a chi-square goodness of fit test?

A

The variable follows the expected distribution.

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

What is the alternative hypothesis for a chi-square goodness of fit test?

A

The variable does not follow the expected distribution.

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

What are the calculator steps for a chi-square test of independence?

A

1) Enter your data into matrix A (2nd, Matrix, Edit, [A])
2) Run the test (Stat, TESTS, C: X^2 Test)

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

What are the calculator steps for a t-test?

A

-1) Enter the data (Stat, Enter, enter group 1 data into L1 and group 2 data into L2)
2) Run the test (Stat, TESTS, 4:2-Samp-T-Test)

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

What are the calculator steps for a chi-square goodness of fit test?

A

1) Enter the data (Stat, enter, observed vals go in L1 and expected vals go in L2)
2) Run the test (Stat, TESTS, D: X^2GOF TEST)

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

If the p-value is less than (<) the significance level…

A

Reject the null hypothesis

17
Q

If the p-value is greater than (>) the significance level…

A

Accept the null hypothesis

18
Q

If the chi-square value is greater than the critical value…

A

Reject the null hypothesis

19
Q

If the chi-square value is less than the critical value…

A

Accept the null hypothesis

20
Q

How do you decide whether to accept or reject the null hypothesis?

A
21
Q

T-test for two means,what should you select?
pooled: NO or YES

A

pooled: YES

(The reason for this is because on the IB exam, they always give data with equal variances. You will learn more on this if you take more stats in college.)

22
Q

How do you calculate degrees of freedom for a chi square goodness of fit test?

A

n-1

where n is the number of cells