Resources

A university institutional review board (IRB) audits an international multi-center clinical trial evaluating in vivo AAV-delivered CRISPR-Cas9 base editors for familial hypercholesterolemia. Across three demographic trial tiers, researchers surveyed N=450N = 450 enrolled patients regarding their subjective comprehension of germline versus somatic modification risks during the informed consent process. The observed counts of patients demonstrating 'Adequate Comprehension' versus 'Inadequate Comprehension' were recorded:

Cohort GroupAdequate ComprehensionInadequate ComprehensionRow Total
Tier 1 (Private Specialty Center)1121123838150150
Tier 2 (Public Regional Hospital)88886262150150
Tier 3 (Underserved Rural Clinic)70708080150150
Column Total270270180180450450

Using a Chi-Square test of independence at significance level α=0.05\alpha = 0.05: (a) Calculate the expected count E1,1E_{1,1} for Tier 1 with Adequate Comprehension and E3,2E_{3,2} for Tier 3 with Inadequate Comprehension. (b) Compute the test statistic χ2=∑(O−E)2E\chi^2 = \sum \frac{(O - E)^2}{E} across all 66 cells, identify the degrees of freedom dfdf, and determine whether researchers reject or fail to reject the null hypothesis H0H_0 that informed consent comprehension is independent of healthcare trial tier (Critical value for α=0.05\alpha = 0.05: χcrit,df=22=5.991\chi^2_{\text{crit}, df=2} = 5.991).

Answer and steps

Final answer

(a) E1,1=150×270450=90.0E_{1,1} = \frac{150 \times 270}{450} = 90.0, E3,2=150×180450=60.0E_{3,2} = \frac{150 \times 180}{450} = 60.0; (b) χ2=(112−90)290+(38−60)260+(88−90)290+(62−60)260+(70−90)290+(80−60)260=5.378+8.067+0.044+0.067+4.444+6.667=24.67\chi^2 = \frac{(112-90)^2}{90} + \frac{(38-60)^2}{60} + \frac{(88-90)^2}{90} + \frac{(62-60)^2}{60} + \frac{(70-90)^2}{90} + \frac{(80-60)^2}{60} = 5.378 + 8.067 + 0.044 + 0.067 + 4.444 + 6.667 = 24.67; with df=(3−1)(2−1)=2df = (3-1)(2-1) = 2, since χ2=24.67>5.991\chi^2 = 24.67 > 5.991 (p<0.001p < 0.001), we reject the null hypothesis H0H_0 and conclude that comprehension levels differ significantly across trial tiers.

Steps

Part (a): Calculating Expected Frequencies

Under the null hypothesis (H0H_0), comprehension level is independent of the healthcare tier. The expected frequency for any cell in row ii and column jj is calculated using the formula:

Ei,j=(Row Totali)⋅(Column Totalj)Grand TotalE_{i,j} = \frac{(\text{Row Total}_i) \cdot (\text{Column Total}_j)}{\text{Grand Total}}

  1. Expected frequency for Tier 1 with Adequate Comprehension (E1,1E_{1,1}): E1,1=150⋅270450=90.0E_{1,1} = \frac{150 \cdot 270}{450} = 90.0
  2. Expected frequency for Tier 3 with Inadequate Comprehension (E3,2E_{3,2}): E3,2=150⋅180450=60.0E_{3,2} = \frac{150 \cdot 180}{450} = 60.0

(Note: Because all three tiers have equal row totals of 150150, the expected count for Adequate Comprehension is 90.090.0 and for Inadequate Comprehension is 60.060.0 across all tiers).


Part (b): Computing the Chi-Square Statistic and Hypothesis Testing

The Chi-Square test statistic measures the divergence between observed counts (OO) and expected counts (EE):

χ2=∑(O−E)2E\chi^2 = \sum \frac{(O - E)^2}{E}

Evaluating each of the six cells:

  • Tier 1, Adequate: (112−90)290=22290=48490≈5.378\frac{(112 - 90)^2}{90} = \frac{22^2}{90} = \frac{484}{90} \approx 5.378
  • Tier 1, Inadequate: (38−60)260=(−22)260=48460≈8.067\frac{(38 - 60)^2}{60} = \frac{(-22)^2}{60} = \frac{484}{60} \approx 8.067
  • Tier 2, Adequate: (88−90)290=(−2)290=490≈0.044\frac{(88 - 90)^2}{90} = \frac{(-2)^2}{90} = \frac{4}{90} \approx 0.044
  • Tier 2, Inadequate: (62−60)260=2260=460≈0.067\frac{(62 - 60)^2}{60} = \frac{2^2}{60} = \frac{4}{60} \approx 0.067
  • Tier 3, Adequate: (70−90)290=(−20)290=40090≈4.444\frac{(70 - 90)^2}{90} = \frac{(-20)^2}{90} = \frac{400}{90} \approx 4.444
  • Tier 3, Inadequate: (80−60)260=20260=40060≈6.667\frac{(80 - 60)^2}{60} = \frac{20^2}{60} = \frac{400}{60} \approx 6.667

Summing these individual cell contributions:

χ2=5.378+8.067+0.044+0.067+4.444+6.667=24.67\chi^2 = 5.378 + 8.067 + 0.044 + 0.067 + 4.444 + 6.667 = 24.67

Degrees of Freedom and Decision Rule:

  • Degrees of freedom (dfdf): df=(r−1)(c−1)=(3−1)(2−1)=2⋅1=2df = (r - 1)(c - 1) = (3 - 1)(2 - 1) = 2 \cdot 1 = 2
  • Comparison: At significance level α=0.05\alpha = 0.05, the critical value is χcrit2=5.991\chi^2_{\text{crit}} = 5.991.
  • Conclusion: Because the calculated test statistic χ2=24.67\chi^2 = 24.67 is significantly greater than 5.9915.991 (p<0.001p < 0.001), we reject the null hypothesis H0H_0.

This demonstrates a statistically significant disparity in informed consent comprehension among patients across different healthcare tiers, highlighting key bioethical concerns regarding health literacy and equitable access during gene-editing clinical trials.

Typical errors

OverviewACEpath Teacher's Diagnosis

01 The student divides by the observed frequency instead of the expected frequency in the chi-square denominator, yielding an incorrect test statistic.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Partially correct
  1. Step 1

    E=Row Total×Column TotalTotal  ⟹  E1,1=150×270450=90  ⟹  E3,2=150×180450=60E = \frac{\text{Row Total} \times \text{Column Total}}{\text{Total}} \implies E_{1,1} = \frac{150 \times 270}{450} = 90 \implies E_{3,2} = \frac{150 \times 180}{450} = 60

  2. Step 2

    χ2=∑(O−E)2O  ⟹  χ2=222112+22238+2288+2262+20270+20280=27.90\chi^2 = \sum \frac{(O-E)^2}{O} \implies \chi^2 = \frac{22^2}{112} + \frac{22^2}{38} + \frac{2^2}{88} + \frac{2^2}{62} + \frac{20^2}{70} + \frac{20^2}{80} = 27.90

    Correct

    χ2=∑(O−E)2E=(112−90)290+(38−60)260+(88−90)290+(62−60)260+(70−90)290+(80−60)260≈24.67\chi^2 = \sum \frac{(O-E)^2}{E} = \frac{(112-90)^2}{90} + \frac{(38-60)^2}{60} + \frac{(88-90)^2}{90} + \frac{(62-60)^2}{60} + \frac{(70-90)^2}{90} + \frac{(80-60)^2}{60} \approx 24.67

    You placed the observed counts (OO) in the denominator of each cell term instead of dividing by the expected counts (EE).

  3. Step 3

    df=(3−1)(2−1)=2  ⟹  27.90>5.991, reject H0df = (3-1)(2-1) = 2 \implies 27.90 > 5.991\text{, reject } H_0

    Correct

    df=(3−1)(2−1)=2df = (3-1)(2-1) = 2; since χ2=24.67>5.991\chi^2 = 24.67 > 5.991, reject H0H_0.

    You determined the degrees of freedom and the decision rule correctly, but your comparison used the test statistic computed with the incorrect denominator.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly stated and calculated the expected counts using row and column totals.

You found the correct squared deviations (O−E)2(O - E)^2 for all six table cells.

You calculated the degrees of freedom accurately and identified the correct rejection criterion.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Formula denominator substitution error

You divided each squared difference (O−E)2(O - E)^2 by the observed count OO rather than the expected count EE.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

You confused the baseline reference in Pearson's chi-square test statistic. Under the null hypothesis, deviations are standardized relative to what you expect under independence (EE), not what was empirically observed (OO).

REASONING PATH
Your ACEpath teacher’s suggested approach
Denominator Standardization
  • Pearson's chi-square statistic standardizes squared discrepancies against expected counts: χ2=∑(O−E)2E\chi^2 = \sum \frac{(O - E)^2}{E}.

  • Whenever you set up each term in a chi-square test, check that the value in the denominator matches the null expectation EE, never the sample count OO.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Set up each cell term dividing by the expected count: (112−90)290+(38−60)260+(88−90)290+(62−60)260+(70−90)290+(80−60)260\frac{(112-90)^2}{90} + \frac{(38-60)^2}{60} + \frac{(88-90)^2}{90} + \frac{(62-60)^2}{60} + \frac{(70-90)^2}{90} + \frac{(80-60)^2}{60}.

  2. Evaluate the fractions: 48490+48460+490+460+40090+40060≈5.378+8.067+0.044+0.067+4.444+6.667=24.67\frac{484}{90} + \frac{484}{60} + \frac{4}{90} + \frac{4}{60} + \frac{400}{90} + \frac{400}{60} \approx 5.378 + 8.067 + 0.044 + 0.067 + 4.444 + 6.667 = 24.67.

  3. Compare with the critical threshold: 24.67>5.99124.67 > 5.991, so you still reject H0H_0 at α=0.05\alpha = 0.05.

Final answer

(a) E1,1=90.0E_{1,1} = 90.0, E3,2=60.0E_{3,2} = 60.0; (b) χ2≈24.67\chi^2 \approx 24.67, df=2df = 2; since 24.67>5.99124.67 > 5.991, reject H0H_0.

NEXT STEPS
Final Takeaways from Your Teacher
  • Review the formula card for Pearson's chi-square test to reinforce dividing by EE.

  • Practice computing cell contributions for small 2×22 \times 2 and 3×23 \times 2 contingency tables using explicit (O−E)2/E(O - E)^2 / E headings.

OverviewACEpath Teacher's Diagnosis

02 The student calculates degrees of freedom as (r × c) - 1 instead of (r - 1)(c - 1), misidentifying df as 5.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Partially correct
  1. Step 1

    E1,1=150×270450=90E_{1,1} = \frac{150 \times 270}{450} = 90   ⟹  \implies E3,2=150×180450=60E_{3,2} = \frac{150 \times 180}{450} = 60

  2. Step 2

    χ2=∑(O−E)2E=48490+48460+490+460+40090+40060=88890+88860=24.67\chi^2 = \sum \frac{(O - E)^2}{E} = \frac{484}{90} + \frac{484}{60} + \frac{4}{90} + \frac{4}{60} + \frac{400}{90} + \frac{400}{60} = \frac{888}{90} + \frac{888}{60} = 24.67

  3. Step 3

    df=(3×2)−1=5df = (3 \times 2) - 1 = 5

    Correct

    df=(r−1)(c−1)=(3−1)(2−1)=2×1=2df = (r - 1)(c - 1) = (3 - 1)(2 - 1) = 2 \times 1 = 2

    For a two-way contingency table, degrees of freedom are constrained by both row and column marginal totals, giving df=(r−1)(c−1)=2df = (r - 1)(c - 1) = 2. The formula (total cells)−1=(r×c)−1(\text{total cells}) - 1 = (r \times c) - 1 applies only to a one-way goodness-of-fit test.

  4. Step 4

    24.67>5.99124.67 > 5.991, reject H0H_0

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly calculated the expected counts using the marginal totals and grand total.

You grouped and summed the cell chi-square components accurately to find χ2=24.67\chi^2 = 24.67.

You correctly rejected the null hypothesis based on the critical value comparison.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Degrees of Freedom Miscalculation in Contingency Table

No, this represents a conceptual confusion between the degrees of freedom for a one-way test vs. a two-way contingency table.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

You treated the 3×23 \times 2 contingency table as 66 independent categories with only one grand total constraint (giving k−1=5k - 1 = 5), overlooking that in a test of independence, every row sum and column sum is fixed, which restricts independent cell choices to (r−1)(c−1)=2(r - 1)(c - 1) = 2.

REASONING PATH
Your ACEpath teacher’s suggested approach
Degrees of Freedom in Contingency Tables
  • A two-way table with rr rows and cc columns has df=(r−1)(c−1)df = (r - 1)(c - 1).

  • Count rows rr and columns cc, subtract 11 from each dimension, and multiply the differences.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Identify the number of rows r=3r = 3 (trial tiers) and columns c=2c = 2 (comprehension levels).

  2. Apply the two-way contingency table formula: df=(r−1)(c−1)=(3−1)(2−1)=2×1=2df = (r - 1)(c - 1) = (3 - 1)(2 - 1) = 2 \times 1 = 2.

  3. Compare the calculated χ2=24.67\chi^2 = 24.67 against χcrit,df=22=5.991\chi^2_{\text{crit}, df=2} = 5.991 to conclude rejection of H0H_0.

Final answer

(a) E1,1=90.0E_{1,1} = 90.0, E3,2=60.0E_{3,2} = 60.0; (b) χ2=24.67\chi^2 = 24.67, df=2df = 2, reject H0H_0.

NEXT STEPS
Final Takeaways from Your Teacher
  • Review the difference between df=k−1df = k - 1 for one-way goodness-of-fit tests and df=(r−1)(c−1)df = (r - 1)(c - 1) for two-way independence tests.

  • Practice verifying degrees of freedom by filling in a blank grid with fixed marginal totals to see how many cells can be freely chosen.

OverviewACEpath Teacher's Diagnosis

03 The student omits squaring the differences in the numerator, summing (O - E) / E instead of (O - E)² / E.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Partially correct
  1. Step 1

    E1,1=150×270450=90  ⟹  E3,2=150×180450=60E_{1,1} = \frac{150 \times 270}{450} = 90 \implies E_{3,2} = \frac{150 \times 180}{450} = 60

  2. Step 2

    χ2=∑(O−E)E=112−9090+38−6060+88−9090+62−6060+70−9090+80−6060  ⟹  χ2=0\chi^2 = \sum \frac{(O - E)}{E} = \frac{112 - 90}{90} + \frac{38 - 60}{60} + \frac{88 - 90}{90} + \frac{62 - 60}{60} + \frac{70 - 90}{90} + \frac{80 - 60}{60} \implies \chi^2 = 0

    Correct

    χ2=∑(O−E)2E=22290+(−22)260+(−2)290+2260+(−20)290+20260≈24.67\chi^2 = \sum \frac{(O - E)^2}{E} = \frac{22^2}{90} + \frac{(-22)^2}{60} + \frac{(-2)^2}{90} + \frac{2^2}{60} + \frac{(-20)^2}{90} + \frac{20^2}{60} \approx 24.67

    You omitted the squaring of the numerator difference (O−E)(O - E). In the chi-square formula, each deviation must be squared as (O−E)2(O - E)^2 so that discrepancies do not cancel out algebraically to zero.

  3. Step 3

    df=(3−1)(2−1)=2df = (3 - 1)(2 - 1) = 2

  4. Step 4

    0<5.9910 < 5.991, fail to reject H0H_0

    Correct

    Since χ2=24.67>5.991\chi^2 = 24.67 > 5.991, reject H0H_0

    Because your calculated test statistic was zero due to the missing square in Step 2, your statistical decision contradicted the true result. With χ2=24.67>5.991\chi^2 = 24.67 > 5.991, you must reject the null hypothesis.

WHAT YOU DID WELL
Compliments from Your Teacher

You calculated the expected values for the contingency table accurately.

You determined the degrees of freedom using the correct formula (r−1)(c−1)=2(r - 1)(c - 1) = 2.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Omitted square in test statistic formula

You wrote the numerator as (O−E)(O - E) rather than (O−E)2(O - E)^2, forgetting the exponent.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

A misconception or oversight regarding how distance/discrepancy is measured in goodness-of-fit and independence tests: raw differences ∑(O−E)\sum (O - E) naturally sum to zero across marginal totals, requiring the deviations to be squared to capture absolute discrepancy.

REASONING PATH
Your ACEpath teacher’s suggested approach
Chi-Square Test Statistic Formula
  • The chi-square test statistic is always χ2=∑(O−E)2E\chi^2 = \sum \frac{(O - E)^2}{E}, never ∑O−EE\sum \frac{O - E}{E}.

  • Always verify that every individual deviation (O−E)(O - E) is squared before dividing by EE.

Sanity Check on Deviations
  • Raw deviations (O−E)(O - E) sum to 00 across rows and columns by definition.

  • If your cell calculations cancel out to 00 despite clear observable differences, check whether you forgot to square (O−E)(O - E).

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Square the deviation for each cell: (112−90)290=48490≈5.378\frac{(112 - 90)^2}{90} = \frac{484}{90} \approx 5.378, (38−60)260=48460≈8.067\frac{(38 - 60)^2}{60} = \frac{484}{60} \approx 8.067, (88−90)290=490≈0.044\frac{(88 - 90)^2}{90} = \frac{4}{90} \approx 0.044, (62−60)260=460≈0.067\frac{(62 - 60)^2}{60} = \frac{4}{60} \approx 0.067, (70−90)290=40090≈4.444\frac{(70 - 90)^2}{90} = \frac{400}{90} \approx 4.444, and (80−60)260=40060≈6.667\frac{(80 - 60)^2}{60} = \frac{400}{60} \approx 6.667.

  2. Sum all 66 cell values: χ2=5.378+8.067+0.044+0.067+4.444+6.667=24.67\chi^2 = 5.378 + 8.067 + 0.044 + 0.067 + 4.444 + 6.667 = 24.67.

  3. Compare the test statistic to the critical value: since χ2=24.67>5.991\chi^2 = 24.67 > 5.991, reject H0H_0.

Final answer

(a) E1,1=90.0E_{1,1} = 90.0, E3,2=60.0E_{3,2} = 60.0; (b) χ2=24.67\chi^2 = 24.67, df=2df = 2, reject H0H_0.

NEXT STEPS
Final Takeaways from Your Teacher
  • Re-evaluate the cell components with squared numerators (O−E)2(O - E)^2.

  • Notice the bioethical implication: rejecting H0H_0 means comprehension varies significantly across clinical trial tiers, highlighting health disparities in informed consent.

Lock it in

Similar question

01

In a clinical trial survey, 80 patients reported severe adverse events while 100 were expected under H0H_0. Calculate the individual chi-square component (O−E)2E\frac{(O - E)^2}{E} for this cell.

Answer

(80−100)2100=(−20)2100=400100=4.0\frac{(80 - 100)^2}{100} = \frac{(-20)^2}{100} = \frac{400}{100} = 4.0.

02

A 2×22 \times 2 study evaluates consent comprehension between two clinical trial sites. The observed counts are Site A: 60 adequate, 40 inadequate; Site B: 40 adequate, 60 inadequate. Both sites enroll 100 participants (total N=200N = 200, overall 100 adequate, 100 inadequate). Calculate the expected count EE for each cell and find the total test statistic χ2\chi^2.

Answer

Each expected count is E=100×100200=50E = \frac{100 \times 100}{200} = 50. The test statistic is χ2=4×(60−50)250=4×10050=4×2.0=8.0\chi^2 = 4 \times \frac{(60 - 50)^2}{50} = 4 \times \frac{100}{50} = 4 \times 2.0 = 8.0.

03

An IRB reviews genetic trial compliance across three demographic tiers (r=3r = 3) and three outcome categories (c=3c = 3). A researcher calculates ∑(O−E)2E=10.50\sum \frac{(O - E)^2}{E} = 10.50. Find the degrees of freedom dfdf. If the critical value at α=0.05\alpha = 0.05 is χcrit2=9.488\chi^2_{\text{crit}} = 9.488, state whether to reject or fail to reject H0H_0.

Answer

df=(3−1)(3−1)=2×2=4df = (3 - 1)(3 - 1) = 2 \times 2 = 4. Since the test statistic χ2=10.50>9.488\chi^2 = 10.50 > 9.488, reject the null hypothesis H0H_0.

Loading workspace…