Week 5: Chi-Squared Test Flashcards

1
Q

What is the purpose of a chi-squared test?

A

To assess the independence between two categorical variables

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

What is H0 in a chi-squared test?

A

The variables are independent

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

When is the chi-squared test considered statistically significant?

A

When p < 0.05

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

How do you compute a chi-squared test?

A

<tabulate var1 var2, row col chi2>

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

What is the formula for degrees of freedom in a chi-squared test?

A

(No. of rows - 1) x (No. of columns - 1)

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

What does a significant chi-squared result imply?

A

Evidence to reject H0 and conclude a significant association

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

In research, how is the chi-squared test applied to test if pain experience is related to gender?

A

Cross-tabulate variables for gender and pain experience and compute χ2

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

How do you formally report results from chi-squared test?

A

A Pearson’s chi-squared test of independence was carried out to assess whether gender and frequent experience of pain are independent. Results (χ2
(1) = 10.68, p=0.001) suggest there is strong evidence to reject the null hypothesis of no independence between these two variables. Descriptive findings indicate that more women than men experience pain frequently

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

How do we compute a chi-squared test with three variables?

A

We need to create a three-way table
<bysort cat_variable: tabulate dependent_variable independent_variable, row col chi2>

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