module 9 Flashcards

1
Q

Expected contingency tables

A

The contingency table of expected frequencies under the null hypothesis. They are the reference we compare categorical data for the hypothesis test.

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

How many columns does a one way contingency table have?

A

Two. One for the list of categories and one for the data of each category

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

How many columns does a two way contingency table have?

A

Three. One for the list of categories, one for the data of the first variable, and one for the data of the second variable.

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

Independent (contingency tables)

A

In the context of expected contingency tables, independence refers to the cells in the table having equal relative proportions across the levels of each variable.

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

Equally (contingency tables)

A

In the context of expected contingency tables, equality refers to all cells in the table having the same expected frequency.

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

Interaction (contingency tables)

A

In the context of expected contingency tables, an interaction refers to the cells in the table not having equal relative proportions across the levels of each variable.

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

how to make an expected one way contingency table

A
  • add up the total of the numerical column and divide it by how many rows there are, the number should be the same for each value
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

To calculate the expected contingency table, you first need to calculate the _____________

A

marginal distributions as proportions

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

how to find two way expected contingency table

A

multiply the total sum of all numbers in the table by the marginal distributions of the row and column

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

For 1-way contingency tables, the null hypothesis is that the counts are distributed ______ among the cells whereas for 2-way contingency tables, the null hypothesis is that the counts are distributed ______ among the cells.

A

equally, independently

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

_________ is the null distribution for hypothesis testing but with categorical data

A

chi-squared distribution

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

Ch-squared score

A
  • aka x^2
  • measures the distance between observed and expected contingency tables
  • calculates the square difference between tables on a cell by cell basis
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what are the steps for a chi-squared test

A
  • subtract each observed and expected cell
  • square the difference
  • divide by the expected value
  • add up all the cells
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what is Oi in the chi square test equation

A

observed count in the i’s cell of observed table

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

what is Ei in the chi square test equation

A

Expected count on the i’s cell

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

what is n in the chi square test equation

A

total number of cells

17
Q

what is 𝝨 in the chi square test equation

A

all the cells added together

18
Q

t or f: the x^2 score is a measure of the distance between your sample and the null hypothesis

A

true

19
Q

For 1-way tables, the degrees of freedom are the number of cells minus ____

A

1

20
Q

For 2-way tables, the degrees of freedom are the number of rows minus one multiplied by the _________

A

number of column

21
Q

what do chi-squared distributions describe?

A

the likely variation in chi-squared scores that are due to sampling error alone

22
Q

what are the four steps in a chi-squared test

A
  • define the null and alternative hypotheses
  • establish the null distribution
  • conduct the stat test
  • draw scientific conclusions
23
Q

_______ the null hypothesis if the observed score is greater than the critical score (i.e., ꭓ2o>ꭓ2c) or if the p-value is smaller than the Type I error rate (i.e., p<⍺).

A

reject

24
Q

_______ the null hypothesis if the observed score is less than or equal to the critical score (i.e., ꭓ2o≤ꭓ2c) or if the p-value is larger or equal to the Type I error rate (i.e., p≥⍺).

A

fail to reject

25
Q

Unlike other hypothesis tests, the chi-squared test is always _______

A

directional

26
Q

Type I error rate and p-value always go on the ______ hand side

A

right

27
Q

for one way tables, confusions are if the counts are _____ among the cells and for two way its if the counts are ____ of each other

A

equal, independent

28
Q

chi square tests should involve all but this in the conclusion:

a) the null and alternative hypotheses in simplified form
b) short name of the test (i.e., ꭓ2)
c) degrees of freedom
c) total count in the observed table
d) observed chi-squared value (two decimal places)
d) p-value (three decimal places)

A

a)

29
Q

t or f: Since the null distribution is based on the chi-squared score, it cannot contain all the necessary information about the distance between the observed and expected table under the null hypothesis.

A

false