Scenario

The Provincial Training Academy ran a voluntary Digital Records short course from Shrawan to Poush 2081. M and E staff classify enrolled local level staff by location and completion:

  Completed Did not complete Total
Urban 48 32 80
Rural 22 48 70
Total 70 80 150

The Academy director claims urban and rural staff complete at the same rate. The Board paper needs a statistical answer at $\alpha=0.05$ and a short memo on whether outreach for rural offices should be redesigned before scaling to all seven provinces in FY 2082/83. Redesign would cost about NPR 550000 for rural connectivity support and local mentoring.

Your Tasks

  1. Choose the procedure and say why a two mean $t$ test or goodness of fit does not apply.
  2. State hypotheses in words and in symbols where helpful.
  3. Compute expected counts $E_{ij}=R_{i}C_{j}/n$, $\chi^{2}=\sum(O-E)^{2}/E$, df, and decision, and check $E_{ij}\ge5$.
  4. Report row percentages for practical interpretation.
  5. Write a short PA memo using the rubric below with NPR implication.

Memo Rubric

Beat What to include
Claim Restate the equal completion claim and the policy question on rural redesign.
Evidence Table totals, test name, $\chi^{2}$, df, $\alpha$, $p$, and urban versus rural completion rates.
Decision Reject or fail to reject independence or equal association structure as framed.
Practical meaning Whether rural uptake looks weaker and what that suggests for targeting and NPR 550000 use.
Caveats Voluntary enrollment bias, urban rural definition, confounding by connectivity and workload, association is not causation, next qualitative follow up.

Grouped Framework for This Case

Condition check. Two categorical variables, location with $r=2$ and completion with $c=2$, so a $2\times2$ contingency table. Question is association, not a single distribution against fixed shares, so independence is correct and goodness of fit is not. A $t$ test compares means of continuous data, not relevant here.

Hypotheses.

\[H_{0}: \text{completion and location are independent}\quad\text{vs}\quad H_{1}: \text{they are associated}\]

Equivalently $H_{0}:p_{U}=p_{R}$ versus $H_{1}:p_{U}\neq p_{R}$ where $p$ is completion rate.

Statistic. Under $H_{0}$, $E_{ij}=R_{i}C_{j}/n$,

\[\chi^{2}=\sum\frac{(O_{ij}-E_{ij})^{2}}{E_{ij}},\quad \text{df}=(r-1)(c-1)=1\]

Also report row percentages $48/80$ and $22/70$ to show size, and optionally the $2\times2$ shortcut $n(ad-bc)^{2}/((a+b)(c+d)(a+c)(b+d))$.

Self-check

Try this (calculable): Use the Academy table $n=150$ with Urban $48,32$ and Rural $22,48$.

(a) Compute expected counts $E_{ij}=R_{i}C_{j}/n$ for all four cells. (b) Compute $\chi^{2}=\sum(O-E)^{2}/E$ and show it is about $12.26$. (c) With $\text{df}=1$, critical $\chi^{2*}_{0.05,1}=3.84$, decide and compute the completion gap $0.60-0.314\approx0.286$ in points. State one line on how the NPR 550000 could be targeted.

Answer: (a) Urban Completed $80\times70/150\approx37.33$, Urban Not $80\times80/150\approx42.67$, Rural Completed $70\times70/150\approx32.67$, Rural Not $70\times80/150\approx37.33$, all $>5$. (b) $\chi^{2}=(48-37.33)^{2}/37.33+(32-42.67)^{2}/42.67+(22-32.67)^{2}/32.67+(48-37.33)^{2}/37.33\approx3.05+2.67+3.49+3.05\approx12.26$, $p\approx0.0005$. Shortcut with $a=48,b=32,c=22,d=48$ gives the same. (c) $12.26>3.84$, reject $H_{0}$, strong evidence rates differ. Gap about $28.6$ points, $60.0$ percent urban versus $31.4$ percent rural. Allocate NPR 550000 to rural connectivity, scheduled mentoring, and make up sessions before national scale up.

Check: explain why reporting only $p<0.05$ without $28.6$ points understates the practical gap, and why voluntary enrollment means the gap may reflect who enrolls.

Hints

  • Two categorical variables in a $2\times2$ table point to chi square test of independence. A two proportion $z$ is the equivalent alternative.
  • Goodness of fit would apply if you had one variable and fixed expected shares, not a cross classification.
  • Check expected counts $\ge5$ before trusting $\chi^{2}$ approximation. Here all exceed $30$.
Full solution (click to reveal) ### 1. Method Chi square test of independence for location $\times$ completion. Equivalently a two proportion $z$ test for $p_{U}$ versus $p_{R}$. ### 2. Hypotheses $$H_{0}: \text{completion independent of location},\quad H_{1}: \text{completion associated with location}$$ Or $H_{0}:p_{U}=p_{R}$ versus $H_{1}:p_{U}\neq p_{R}$. ### 3. Observed rates - Urban completion $48/80=0.60$ or $60.0$ percent - Rural completion $22/70\approx0.314$ or $31.4$ percent - Gap about $28.6$ points. ### 4. Expected counts $$E_{ij}=R_{i}C_{j}/n$$ - Urban Completed $37.33$, Urban Not $42.67$, Rural Completed $32.67$, Rural Not $37.33$, all $>5$. ### 5. Statistic $$\chi^{2}=\sum(O-E)^{2}/E\approx12.26,\quad \text{df}=1,\quad \chi^{2*}_{0.05,1}=3.84$$ Since $12.26>3.84$, reject $H_{0}$, $p\approx0.0005$. The $2\times2$ shortcut gives the same $12.26$. ### 6. Sample memo **To:** Academy Director and Board **From:** M and E Unit **Re:** Urban rural differences in Digital Records completion, Poush 2081 cohort **Claim.** The programme assumed urban and rural enrollees complete at similar rates. We tested whether completion is associated with location in the six month cohort $n=150$. **Evidence.** Urban completion $60.0$ percent $48/80$ versus $31.4$ percent rural $22/70$, gap $28.6$ points. Chi square test of independence $\chi^{2}\approx12.3$ on $1$ df, $p<0.001$, critical $3.84$ at $0.05$. **Decision.** Reject independence. Completion rates differ by location. **Practical meaning.** Rural uptake is substantially weaker. Before national scale up, prioritize the NPR 550000 for rural friendly scheduling, connectivity support, and local mentoring rather than repeating the same delivery model. **Caveats.** Enrollment is voluntary, so differences may reflect who signs up. Urban or rural labels mask road access and office IT. Association does not prove being rural causes dropout. Follow with interviews and, when performance scores exist, a regression that controls for confounders.

Discussion

  • A colleague proposes a $t$ test on $0/1$ completion scores. Why is chi square of counts the correct framing, and what expected count table would that $t$ hide.
  • How would you explain to the Board that $p<0.001$ with a $28.6$ point gap is not the same as proving that moving every rural staffer to a city would raise completion by $28.6$ points.