By household size — mean MPCE
Report §3.2.4 Fig.3 p28 · raw weighted mean per size.
Visualisation
Weighted P1–P99 (log scale). Dashed grey = P50 median. Hover moves crosshair.
Loading…
Data used
Exact rows behind the viz — full width.
—
Raw SQL — exactly as executed
DuckDB over Parquet · copy-paste runnable in duckdb.
SQL — DuckDB · Parquetcopy-paste runnable
-- Raw MPCE CTE AS P99 above + size P1 FROM VISIT='1' SELECT P1 AS hh_size, TE/P1 AS mpce, -- AppxB 3.5.3 MULTIPLIER, Sector FROM (raw MPCE CTE) -- grouped BY hh_size → wmean
TE=E1+(E2 / P2) × P1+(E3 / P3) × P1AppxB 3.5.2 pB11
MPCE=TE / P13.5.3· keep only HH where P1, P2, P3 all present (§2.2.0)
- E1
- Food — 7-day recall →
× 30/7to monthly — fromlevel_05/06(§1.5 Cat I) - E2
- Consumables & Services — 30-day recall →
× 1— fromlevel_08/09/10(§1.5 Cat II) - E3
- Durables — 365-day recall →
× 30/365— fromlevel_12/13/14(§1.5 Cat III) - P1 P2 P3
- Household size at FDQ / CSQ / DGQ canvass —
level_15 VISIT 1/2/3 → HOUSEHOLD_SIZE
wmean per bucket (1..6,7+,8+) = Σ(mpce×MULT)/Σ(MULT) — AppxB 3.6 ratio R̂=Ŷ/X̂.
Processing & manipulations — full transparency
Every step after SQL. No hidden transforms.
WHAT WE DO — step by step
- 1 Python: bucket P1→cat, for each cat & sector compute weighted mean with raw MULT (uncalibrated).
- 2 Rural/Urban split is Sector 1/2 as surveyed, no Census re-weight.
WHAT WE DO NOT DO — report does, we intentionally skip
- Weight calibration
N/n × D1 × H/h → Census 2011— AppxB pB13 4.0 & B9–B10. Source:censusindia.gov.inprojectedSector×State×SSS. - Free-item imputation (KDE)
§2.3 p15–16— modalSector×Statevia Gaussian KDE,061–075+ PDS 7 + durables 600–623. Would lift to Sec II4247 / 7078. - CPI deflation
Table 3.3 note(ii) p25—CPI(R)/CPI(U)to2011-12. Source:mospi.gov.in/RBI DBIE.
Hence raw ~2793 / 5146 vs
published 4122 / 6996 is
documented, not hidden. No outlier trimming, no re-weight; filters only HOUSEHOLD_SIZE > 0, MPCE > 0 and P1 & P2 & P3 all present (§2.2.0 — incomplete visits dropped).
How to replicate the published figures — sources
Exact pinpoints in NSS Report 592 (HCES 2023-24). Raw + external inputs.
| Pinpoint | Defines | Data source |
|---|---|---|
| §1.5 p4–5 | MMRP — 7d (Cat I) / 30d (Cat II) / 365d (Cat III) reference periods | survey |
| §1.9 p6–7 | Home produce & gifts — ex-farm / retail valuation | field |
| §2.2 p13 | All 3 visits required — §2.2.0 drop
if incomplete | survey |
| AppxB pB11 | TE = E1+(E2/P2)P1+(E3/P3)P1 & MPCE = TE/P1 — 3.5.2–3.5.3 | survey |
| AppxB pB13 | 4.0 Weight N/n × D1 × H/h then calibrated — gap to published | censusindia.gov.in |
| §2.3 p15–16 | KDE Gaussian modal price — free 061–075 + PDS 7 | survey + KDE |
| §3.2.5 p30 | Table 3.5 — food / non-food share breakdown | derived |
| T3.3 p25 | note(ii) CPI(R)/CPI(U) → 2011-12 price | mospi.gov.in |
Amber rows = external inputs not in Parquet — add them to go from raw
~2793/5146 to published 4122/6996 (Sec I) and 4247/7078 (Sec II).