← Use Cases

Physical activity and diabetes among US adults (NHANES 2011–2018)

Physical activity and diabetes among US adults (NHANES 2011–2018)

What this research found

Physical activity and diabetes among US adults (NHANES 2011–2018)

Research question

How does the activity–diabetes prevalence contrast change after demographic and BMI adjustment?

Investigate the association between self-reported physical activity and prevalent diabetes among US adults in historical public NHANES data. Compare unweighted, survey-weighted and progressively adjusted analyses, while explaining why cross-sectional associations cannot establish a preventive effect. This case evaluates Open-Science's ability to execute and document a compact, inspectable survey analysis in R.

Data and comparison design

Survey weighting and covariate adjustment serve different purposes: weighting accounts for the sampling design, while adjustment makes the comparison conditional on measured characteristics. Read the prevalence difference in percentage points and examine how it changes when BMI enters the model.

Input or sourceRole in this caseSource context
CDC NHANES 2011–2012, 2013–2014, 2015–2016, 2017–2018Official public DEMO, PAQ, DIQ, GHB, BMX and SMQ componentsUse for statistical reporting and analysis only; do not attempt identification or linkage to individually identifiable data. See the NCHS Data User Agreement.
CDC NHANES weighting tutorialSurvey-weighting and design guidanceCite CDC methodology; the saved analysis records its own design choices and limitations

Recorded findings

High-activity versus no-activity contrastRecorded prevalence differenceInterpretation
Survey-weighted−10.38 percentage pointsAccounts for sampling design.
Adjusted including BMI−2.73 percentage pointsConditional on included measured characteristics.
Adjusted 95% CI−4.04 to −1.41 pointsUncertainty for this historical association.
Analysis population18,241 adults, 2011–2018Cross-sectional complete-case comparison.

In 18,241 complete-case adults, reporting at least 150 moderate-equivalent minutes of recreational activity per week versus none was associated with lower diabetes prevalence. The estimated high-versus-none gap was −11.03 percentage points unweighted, −10.38 points survey-weighted, −5.33 points after demographics, education, income and smoking, and −2.73 points after also adding BMI (95% CI −4.04 to −1.41). These are cross-sectional, model-dependent associations, not an intervention effect; complete-case selection, reverse causation and measurement error remain important limits.

What the comparison shows

The narrower adjusted gap shows that crude group differences include other measured characteristics. Cross-sectional measurement cannot establish whether activity preceded diabetes or whether illness changed activity.

Assumptions and limits

These historical cross-sectional associations are not preventive treatment effects or current US prevalence estimates. Complete-case selection, reverse causation and self-reported activity limit interpretation.

Sources and research materials

The unchanged research package comes from upstream Case 6. It includes the archived session, analysis materials, results and figures. The poster uses an AI-generated illustrative photograph. This introduction summarizes archived findings; the analysis was not rerun.

How this research was produced

AIPOCH planned and ran this investigation end to end — searching the literature, producing the figures, and drafting the report. The full session transcript is available to inspect.

Share:

Run this kind of analysis on your own question

Start a session and see how an AI co-scientist accelerates your research. Pay-as-you-go, nosubscription required.