Data Science
Road Accident Fatalities across Indian States: An Applied Statistical Study of MoRTH Open Data
What five years of state-wise crash data say about where and why Indian roads kill — cleaned, tested and visualised
- Python
- pandas
- NumPy
- +5
Survey-weighted odds ratios for mother's education, wealth, sanitation and birth order, from unit-level NFHS-5 data in R
Mapped to your syllabusDelhi University UGCF 2022 · Project Work (Statistics DSE-4B, CBCS) · Semester 6What this study does. Stunting (low height for age) is the most widely used indicator of long-term undernutrition in young children. The NFHS-5 national fact sheet reports that roughly one in three Indian children under five (35.5 %) is stunted, with large differences between states. This project asks a focused statistical question: after adjusting for other factors, which household and maternal characteristics are associated with higher odds of a child being stunted, and how much of the state-to-state gap remains?
We use the unit-level NFHS-5 (2019–21) children's recode file, obtained through a free registration with The DHS Program. The outcome is binary: a child is stunted when the height-for-age z-score is below −2 standard deviations of the WHO Child Growth Standards median. Covariates are mother's education, household wealth quintile, type of sanitation facility, birth order, child's age and sex, place of residence (urban/rural) and state.
The analysis respects the survey design: sampling weights, primary sampling units (clusters) and strata are declared with the R survey package before anything is estimated. We produce weighted descriptive tables, design-adjusted chi-square tests, a survey-weighted logistic regression reporting odds ratios with 95 % confidence intervals, model diagnostics (VIF, a goodness-of-fit check and ROC/AUC) and a state-level choropleth map. Key tables are cross-checked in SPSS and Excel so that the two-member team can defend every number in the viva.
Syllabus alignment
Although stunting has declined slowly over successive NFHS rounds, the level remains high and uneven across Indian states. Policy discussions often quote single-factor gaps — "children of uneducated mothers are more often stunted" — but these factors overlap strongly with household wealth, sanitation and rural residence. Without a multivariable model it is impossible to say which factors remain important after the others are held constant, or whether the differences between states are explained by their socioeconomic profile.
A second problem is methodological. NFHS is a stratified two-stage cluster sample, and treating it as a simple random sample produces biased prevalence estimates and artificially narrow confidence intervals, which can make weak associations look significant.
This project therefore sets out to estimate, from unit-level NFHS-5 data and under the correct survey design, the adjusted association between child stunting (HAZ < −2 SD) and mother's education, wealth quintile, sanitation, birth order, residence and state, and to report these associations with honest uncertainty and model diagnostics.
This project studies the determinants of stunting among children aged 0–59 months using the unit-level National Family Health Survey (NFHS-5, 2019–21) children's recode. Stunting is defined as height-for-age z-score (HAZ) < −2 SD of the WHO Child Growth Standards. Using R's survey package to account for weights, clustering and stratification, we estimate weighted prevalence by background characteristics, test associations with design-adjusted (Rao–Scott) chi-square tests, and fit a survey-weighted logistic regression. Results are reported as adjusted odds ratios with 95 % confidence intervals, followed by diagnostics and a state-level map.
Stunting reflects chronic undernutrition and repeated infection in early life. It is linked to poorer schooling and adult earnings, which is why it appears in national nutrition programmes such as POSHAN Abhiyaan. India's NFHS series gives nationally and state-wise representative anthropometric data, which makes it an ideal real dataset for an undergraduate statistics project that goes beyond textbook examples.
Official NFHS reports publish one-way tables — stunting by wealth, by education, by state — but a one-way table cannot separate overlapping effects. Richer households also tend to have better-educated mothers and improved toilets, so a raw gap by education partly reflects wealth. Many student reports also analyse NFHS data without weights or design variables, which biases estimates and understates standard errors. Our project fills this gap at undergraduate level by (a) building a multivariable model and (b) doing every estimate under the correct complex-survey design.
In scope
Out of scope
Research design: secondary analysis of a nationally representative cross-sectional household survey, following a quantitative, hypothesis-testing approach.
Hypotheses (expected directions, to be tested — not results):
Model specification
logit P(stunted = 1) = β0 + β1·MotherEdu + β2·Wealth + β3·Sanitation + β4·BirthOrder + β5·AgeGroup + β6·Sex + β7·Residence + Σ γs·State_s
Reference categories: no education, poorest quintile, improved sanitation, birth order 1, age 0–11 months, male, urban, and a large state chosen as the reference (justified in the report). Estimation uses svyglm() with family = quasibinomial(); adjusted odds ratios are exp(β) with Wald 95 % CIs.
Timeline (14 weeks, team of two)
| Weeks | Activity | Owner |
|---|---|---|
| 1–2 | DHS registration, literature reading, variable list | both |
| 3–4 | Data import, cleaning, recoding, design object | Member A |
| 5–6 | Weighted tables, Rao–Scott tests, SPSS/Excel cross-check | Member B |
| 7–9 | Logistic model, model selection, interpretation | Member A |
| 10–11 | Diagnostics, sensitivity analysis, state map | Member B |
| 12–13 | Report writing, figures, internal review | both |
| 14 | Final report, slides and viva preparation | both |
Quality control: every recode is checked with a frequency table before and after; the unweighted count of children in the analytic sample is logged at each filtering step so the sample flow chart in the report can be reproduced exactly.
The study is organised as a linear analysis pipeline. Each stage has a single R script (numbered 01–06) and writes its output to a folder, so any stage can be re-run without repeating the earlier ones.
flowchart TD
A["Register on The DHS Program website and request NFHS-5 (India) data"] --> B["Download children's recode (KR) file in Stata/SPSS format"]
B --> C["01 Import with haven and keep required variables"]
C --> D["02 Filter: living, de jure children with valid HAZ"]
D --> E["03 Recode outcome and covariates (DHS definitions)"]
E --> F["04 Declare survey design: weight v005, PSU v021, strata v022"]
F --> G["Weighted prevalence tables and Rao-Scott chi-square"]
F --> H["Survey-weighted logistic regression"]
H --> I["Diagnostics: VIF, goodness of fit, ROC/AUC"]
G --> J["State prevalence choropleth map"]
G --> K["Cross-check key tables in SPSS and Excel"]
I --> L["Report chapters and presentation"]
J --> L
K --> L| Concept | DHS variable | Recode used |
|---|---|---|
| Height-for-age z-score | hw70 (z × 100; values ≥ 9996 are flags) | stunted = 1 if hw70 < −200 |
| Sample weight | v005 | weight = v005 / 1,000,000 |
| Cluster (PSU) | v021 | as is |
| Stratum | v022 | as is (confirm with the recode manual) |
| Mother's education | v106 | none / primary / secondary / higher |
| Wealth quintile | v190 | poorest … richest |
| Toilet facility | v116 | improved / not improved / open defecation |
| Birth order | bord | 1, 2, 3, 4+ |
| Residence | v025 | urban / rural |
| State | v024 | factor |
| Child's age and sex | hw1 or b19, b4 | 0–11, 12–23, 24–35, 36–47, 48–59 months; sex |
library(haven); library(dplyr); library(survey)
kr <- read_dta("IAKR7xFL.DTA") |> # exact file name from the download page
select(v005, v021, v022, v024, v025, v106, v190, v116, bord, b4, b5, hw1, hw70) |>
filter(b5 == 1, hw70 < 9996) |>
mutate(w = v005 / 1e6, stunted = as.integer(hw70 < -200))
options(survey.lonely.psu = "adjust")
des <- svydesign(ids = ~v021, strata = ~v022, weights = ~w, data = kr, nest = TRUE)
svyby(~stunted, ~v190, des, svymean) # weighted prevalence by wealth
svychisq(~stunted + v106, des) # Rao-Scott test
m <- svyglm(stunted ~ edu + wealth + san + bord4 + agegrp + sex + res + state,
design = des, family = quasibinomial())
exp(cbind(OR = coef(m), confint(m)))
| Covariate level | Weighted % stunted (95 % CI) | Adjusted OR | 95 % CI | p |
|---|---|---|---|---|
| Mother: no education (ref) | … | 1.00 | — | — |
| Mother: higher education | … | … | … | … |
| Poorest quintile (ref) | … | 1.00 | — | — |
| Richest quintile | … | … | … | … |
| Open defecation vs improved | … | … | … | … |
What you will actually buy, roughly what it costs in India, and where to look. Free to read, links included.
Laptop or department lab PC
Tools to borrow
1 pc
borrowed
R and RStudio with survey, tidyverse, haven and sf
Software & subscriptions
1 set
quote
SPSS Complex Samples for cross-checks
Software & subscriptions
1 set
quote
NFHS-5 Children's Recode (DHS Program)
Other
1 set
quote
Synopsis printing and spiral binding
Printing & stationery
2 copy
₹160₹80 / copy
Report printing, black and white
Printing & stationery
3 copy
₹480₹160 / copy
Hard binding with lettered cover
Printing & stationery
3 copy
₹750₹250 / copy
Colour printouts of figures, maps and chartsoptional
Printing & stationery
20 page
₹200₹10 / page
32 GB USB pen driveoptional
Printing & stationery
1 pc
₹350
What you will spend
≈ ₹1,390 – ₹1,670+ 3 quoted items
What you actually hand in, in the shape your department marks it.
01 · Research proposal / synopsis · Synopsis 1,000–1,500 words
In DU UGCF/CBCS this is DSE-4B Project Work in Semester 6, carrying 6 credits in lieu of one Discipline Specific Elective; the department notifies the split between report, presentation and viva. The synopsis records the outcome, covariates, hypotheses and survey design that the analysis must follow, so it is the document the supervisor approves in week 1.
02 · Ethics & consent forms (blank)
NFHS-5 microdata are released only to registered users for an approved project and may not be shared. The children's recode contains anonymised but sensitive health data. A written record of the access request, the approved scope and the storage rules is what the supervisor and, where required, the college ethics committee will want to see.
03 · Master chart / data sheet
The examiner checks that each analysis variable was built from the right DHS variable with the documented recode, and that the unweighted count is known after every filter. This codebook layout is the bridge between the recode manual and the R scripts.
04 · Statistical analysis plan
The viva will test whether you understand why ordinary chi-square and logistic regression are wrong for NFHS data, what an adjusted odds ratio means and how the model was checked. The plan fixes the design, tests and diagnostics before any output is seen.
05 · Results tables & figures plan
The examiner expects the sample flow, weighted prevalence with confidence intervals, design-adjusted tests, one adjusted model table, diagnostics, and a map that shows state differences without overstating them.
Package 01
Member A completes the DHS Program registration, downloads the KR file, writes the import and filtering script, logs the sample flow (all children → living → de jure → valid HAZ) and documents every recode with before/after frequency tables.
Package 02
Member B builds the svydesign object with weights, clusters and strata, produces weighted prevalence tables with 95 % confidence intervals for every covariate, runs Rao–Scott chi-square tests and prepares the corresponding bar charts in ggplot2.
Package 03
Member A fits the survey-weighted logistic model, compares nested models using design-based Wald tests, converts coefficients to adjusted odds ratios with confidence intervals and writes the interpretation of each covariate in plain language.
Package 04
Member B checks multicollinearity with VIF, runs a goodness-of-fit test and ROC/AUC, and repeats the model with an alternative sanitation coding and without the state term to show how stable the key odds ratios are.
Package 05
Both members join weighted state prevalence to a state boundary file with sf and draw a choropleth map; they recompute two key tables in SPSS (Complex Samples) and Excel pivot tables to confirm that the R output matches.
Slide 1
Determinants of Child Stunting across Indian States
Slide 2
Why stunting?
Slide 3
Research question and hypotheses
Slide 4
Data: NFHS-5 children's recode
Slide 5
Variables
Slide 6
Why survey weights matter
Slide 7
Descriptive analysis
Slide 8
Logistic regression model
Slide 9
Results: adjusted odds ratios
Slide 10
Diagnostics and robustness
Slide 11
State-level map
Slide 12
Conclusions, limitations and future scope
Bullets, speaker notes and the .pptx · ₹2,000
Read each answer, close it, and say it in your own words. Your viva will ask. Now you'll know.
A child is stunted when the height-for-age z-score is below minus two standard deviations from the median of the WHO Child Growth Standards reference population. In the NFHS-5 children's recode this is variable hw70, stored multiplied by 100, so stunted means hw70 below −200 after removing flagged values.
Our outcome is binary — stunted or not — so a linear model could predict probabilities outside 0 and 1 and would violate constant-variance assumptions. Logistic regression models the log-odds of stunting as a linear function of covariates, and exponentiated coefficients give odds ratios that are easy to interpret.
The odds ratio compares the odds of stunting in one category with the odds in the reference category, holding the other covariates constant. An adjusted odds ratio below one for the richest quintile, for example, would mean lower odds of stunting than the poorest quintile after accounting for education, sanitation and the other variables.
+13 more questions, with answers
Unlocks with the project · ₹2,000
Unlock for ₹2,000What to change before it goes anywhere near a submission. Skipping it is how the demo fails live.
Unlocks with the project · ₹2,000
Unlock for ₹2,000How to study it, adapt it and walk your examiner through it, step by step.
Unlocks with the project · ₹2,000
Unlock for ₹2,000OnlyProjects. (2026). Determinants of Child Stunting across Indian States: A Weighted Logistic-Regression Study of NFHS-5 Data: B.Sc Statistics project bundle [Educational resource]. https://onlyprojects.online/projects/bsc-stats-child-stunting-determinants-nfhs5
Keep browsing
Same degree, same syllabus slot, different idea. Pick the one your guide will actually approve.
Data Science
What five years of state-wise crash data say about where and why Indian roads kill — cleaned, tested and visualised
Electronics
A 2nd-order Butterworth design from equations to measured Bode plot, with component-tolerance repeats and an ngspice comparison
Environmental Science
Day and night Leq, L10 and L90 at twelve points across silence, residential, commercial and traffic zones, checked against the CPCB ambient noise standards
Zoology
Density, biomass and community of earthworms in 30 quadrats across cultivated, garden and fallow land, related to soil moisture, pH and organic matter
Agriculture
Cattle-dung blends with paddy straw, leaf litter and market waste, benchmarked against FCO Schedule IV specifications
Biochemistry
A p-nitrophenyl phosphate assay read at 405 nm, non-linear Michaelis-Menten fitting, and competitive inhibition by inorganic phosphate