Association between two Categorical Variables Flashcards

1
Q

What is the use of a two-way table (cross-tabulation or contingency table)?

A

Useful for when we want to examine the relationship between two categorical variables

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

How do we perform a Chi-squared test?

A
  1. Construct a contingency table
  2. Obtain expected results (if null hyopthesis were true)
  3. Find X^2 test statistic
  4. Use x^2 distribution tables to find the p-value
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference between capital X and x in Chi-squared testing?

A

The test statistic is denoted by the capital X^2 and the theoretical distribution is x^2.

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

Why is the Chi squared distribution applicable to contingency tables?

A

The chi-square distribution is the distribution of the sum of the squares of one or more independent standard normal variables. Since we are dealing with counts, which are discrete, rather than continuous, data you may wonder why the normal distribution is relevant. In fact it is only an approximation, which is accurate only for reasonably large sample sizes

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

How do we interpret the Chi squared test statistic?

A

Large values of X^2 - the data do not support the null hypothesis
Small values of X^2 - the data do support the null hypothesis

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

What variable do we need in addition to the Chi-squared statistic to find a p-value?

A

Degrees of freedom (free cells)

v (nu) = (r-1)(c-1)

(r and c do not include the total column or row)

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

What additional test is preferable when dealing with ordered categorical data?

A

A test for trend

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

What are the limitations in test for trend?

A

It assumes a steady increase or decrease in risk in accordance with levels of the variation in question. It cannot detect U-shaped risk relationship such as pre-term birth and maternal age where the risks are high in very young as well as very old mothers

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

What is the alternative way of calculating the X2 test statistic?

A

Using marginal totals

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

How can the marginal totals method of calculating the X2 test statistic be modified for small sample sizes?

A

Continuity correction

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

What are the rules about sample size and the validity of the chi-squared test?

A

For 2x2 tables:
If N>40, it is valid
If N 20-40 and the smallest expected value is at least 5 it is valid
Otherwise Fisher’s exact test is used

For 2XR and RxC tables:
Valid if no more than 20% of expected values are less than 5 and none are less than 1.

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

Summary of procedure for determining association between two categorical variables

A

Step 1: Display data as two-way table. The first thing is to look at the raw data.

Step 2: Calculate row or column percentages as appropriate. We want to see the percentages to help us interpret the data.

Step 3: Declare null hypothesis and calculate chi-squared value. Now we’re ready to calculate the chi-squared.

Step 4: Calculate degrees of freedom. Now we need both the chi-squared value and the degrees of freedom before we can look up the P value.

Step 5: Refer to chi-squared distribution to get P-value Now we’re ready to look up the P value.

Step 6: Step 6: Interpret P-value. Now we have all the results of the analysis, we can interpret them.

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

What additional statistical method is required for a full interpretation of the X2 test?

A

Calculation of confidence intervals

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