Module 9 Flashcards

1
Q

What are expected contingency tables?

A

the contingency table you expect from a populaion where the null hypothesis is true

hypothesis testing with categorical data is based on comparing the observed contingency tavle against an expected contingency table

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

What is the expected contingency table for a 1-way contingency table?

A

it is one where the counts are distributed equally among all levels

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

How is the expected contingency always given?

A

given as counts

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

What is the sum of all the counts in the observed contingency table?

A

the same as the sum of all counts in the observed contingency table

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

How is the expected contigency table data typically shown as?

A

has a fractinoal values because it repersents the average from a statistical population

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

What does it mean if there is no interaction between the variables?

A

then the variables are considered independent of each other

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

What is interaction for a expected contingency table?

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
8
Q

What is the null hypothesis of independence for expected contingency tables?

A

one where the counts are distributed independently among all lebels.

independence does not mean the cells alll have equal expected counts. rather it means that the relative proportion accross the levels of one variable is the same accross all levels of the other.

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

How to calculated the expected contingency table?

A
  • calculate the marginal distributions as proportios
  • the expected value for each cell is then calculated as the product of the row and column marginal distributions that go wth each cell, multiplied by the total table count
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What si the chi-squared score (X^2)?

A

a measure of the distance between two contingency tables. If the contingency tables are an observed and expected table, then is measures the distance between sample data and the null hypothesis.

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

How do you calculate a chi-squared score for any observed and expected table?

A
  • take the difference between each observed and expected cell
  • square the difference
  • divide by the expected value
  • sum over all cells in the table
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the null distribution for any hypothesis test?

A

is the sampling distribution that we get from repeatedly sampling an imaginary statistical population where the null hypothesis is true

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

What is the chi squared score a measure of?

A

a measure of the distance between your sample and the null hypothesis

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

What is the chi squared distribution?

A

is the distribution of chi-squared scores expected from repeatedly sampling a statistical population where the null hypothesis was true. It is the null distribution for hypothesis testing with categorical data.

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

Why are only positive values possibe for the chi squared score?

A

because the chi squared score is a measure of absolute distance between observed and expected table

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

What is the degrees of freedom for a 1 way table chi squared distribution?

A

the number of cells minus one

17
Q

what is the degrees of freedom for a 2-way table for a chi squared distribution?

A

the number of rows minus one, multiplied by the number of columns, minus one (df=(c-1)(r-1))

18
Q

How does the hypothesis test work for the chi squared test?

A
  • locating the critical x2 score that corresponds to the type I error rate on the chi squared distribution
  • and comapre that to the observed X2 score
  • the statistical decision can be made either by comparing the observed and critical X2 scores, or by comparing the corresponding p-value and Type I error rate
19
Q

how do you make the statistical decision for chi squared test?

A
  • reject the null hypothesis if the observed score is greater than the critical score or if the p value is smaller than the Type I error rate
  • fail to reject the null hypothesis if the observed score is less than or equal to the critical score or if the p value is larger or equal to the Type I error rate
19
Q

Why is the chi squared test always directional

A

becuase the chi squared score is a measure of absolute distance, and we are only interested in the furthest distance from the null hypothesis

as such, the type I error rate and p value always go on the right hand side

20
Q

What are the scientific conclusions for the chi squared test for a one way table?

A
  • reject the null hypothesis and conclude that there is evidence to support that the counts are not equal among cells
  • fail to reject the null hypothesis and conclude that there is no evidence to support that the counts are not equal among cells
21
Q

What are the scientific conclusions for the chi squared test for a two way table?

A
  • reject the null hypothesis and conclude that there is evidence to support that the variables are not independent of each other
  • fail to reject the null hypothesis and conclude that there is no evidence to support that the variables are not independent of each other
22
Q

What should the reporting of a chi square testing include

A
  • short name of test
  • degrees of freedom
  • total count in the observed table
  • the observed chi squared value (two decimal places)
  • p value (three decimal places)