thericerca
← All sample studies
Read-only sample study. A complete walkthrough — from problem statement to a validated report — using fall_prevention.csv (90 rows × 10 cols). Sign in to run your own.
Sample study · survival design

Fall Prevention on a Geriatric Ward

Research information
Statement of the problem

This nursing pilot evaluates a bedside fall-prevention protocol against standard care on an inpatient geriatric ward, examining early-window fall rates, follow-up fall-risk scores, and time-to-event (survival) analysis of days_to_first_fall over the observation period.

Objectives
  • To describe patient demographics, baseline_fall_risk, and early-window outcomes across the intervention and control groups.
  • To determine the association between fell_short_term and group.
  • To determine the relationship between baseline_fall_risk and fall_risk_followup.
  • To estimate Kaplan-Meier survival curves for days_to_first_fall by group and compare using the log-rank test.
  • To model days_to_first_fall using Cox regression on age, baseline_fall_risk, and group.
Dataset
fall_prevention.csv90 rows × 10 cols
ColumnKindMissingDistinct
days_to_first_fallnumeric040
event_indicatornumeric02
patient_idtext090
groupcategorical02
agenumeric025
sexcategorical02
mobilitycategorical03
baseline_fall_risknumeric082
fell_short_termnumeric02
fall_risk_followupnumeric085
Feasibility & estimateFree
✓ Feasibledesign: survival · via heuristic

Detected a survival design with 9 analyzable variable(s) and 5 analytical question(s). Recommended 7 statistical test(s). Estimated cost: 68 credits.

Recommended analysis
To describe patient demographics, baseline_fall_risk, and early-window outcomes across the intervention and control groups.
Descriptive Statistics(baseline_fall_risk)
Frequency & Percentage Distribution(group)
To determine the association between fell_short_term and group.
Chi-Square Test of Independence(group, fell_short_term)
To determine the relationship between baseline_fall_risk and fall_risk_followup.
Pearson Correlation(baseline_fall_risk, fall_risk_followup)
To estimate Kaplan-Meier survival curves for days_to_first_fall by group and compare using the log-rank test.
Kaplan–Meier Survival Estimate(days_to_first_fall, event_indicator, group)
Log-Rank Test(days_to_first_fall, event_indicator, group)
Cox Proportional Hazards Regression(days_to_first_fall, event_indicator, group)
To model days_to_first_fall using Cox regression on age, baseline_fall_risk, and group.
Kaplan–Meier Survival Estimate(days_to_first_fall, event_indicator, group)
Cox Proportional Hazards Regression(days_to_first_fall, event_indicator, group, age, baseline_fall_risk)
Dataset Complexity15
Statistical Tests21
AI Interpretation15
Visualizations12
Report Generation5
Total to run68 credits
Estimated runtime: ~1-2 minutes
ResultsComputed
9 tests68 credits
Descriptive Statistics (baseline_fall_risk)
nmaxminstdmeanmoderangemedianvariablevariance
9093.90016.90016.73459.21954.2007757.500baseline_fall_risk280.021
Frequency & Percentage Distribution (group)
group · intervention50.0%
group · control50.0%
Chi-Square Test of Independence (group, fell_short_term)
significant
χ²4.381df1N90p.036
Cramér's V0.221
small
01row
2718control
378intervention

The result is statistically significant (p = 0.0363 < 0.05).

Pearson Correlation (baseline_fall_risk, fall_risk_followup)
significant
r.922df88R².850N90p< .001
Pearson r0.922
large

The result is statistically significant (p = 0.0000 < 0.05).

Kaplan–Meier Survival Estimate (days_to_first_fall, event_indicator, group)
N90
ngroupeventscensoredmedian survivalrestricted mean
45control378320.586
45intervention1629—0.803

Observed 53 event(s) in 90 subject(s).

Log-Rank Test (days_to_first_fall, event_indicator, group)
significant
χ²20.44df1N90p< .001
ngroupevents
45control37
45intervention16

The result is statistically significant (p = 0.0000 < 0.05).

Cox Proportional Hazards Regression (days_to_first_fall, event_indicator, group)
significant
N90p< .001
Concordance0.647
medium
coefp valuehr ci lowpredictorhr ci highhazard ratio
-1.2840.0000.153group_intervention0.5010.277

The result is statistically significant (p = 0.0000 < 0.05).

Kaplan–Meier Survival Estimate (days_to_first_fall, event_indicator, group)
N90
ngroupeventscensoredmedian survivalrestricted mean
45control378320.586
45intervention1629—0.803

Observed 53 event(s) in 90 subject(s).

Cox Proportional Hazards Regression (days_to_first_fall, event_indicator, group, age, baseline_fall_risk)
significant
N90p< .001
Concordance0.660
medium
coefp valuehr ci lowpredictorhr ci highhazard ratio
-1.3210.0000.145group_intervention0.4900.267
-0.0060.7800.954age1.0360.994
0.0060.5020.989baseline_fall_risk1.0231.006

The result is statistically significant (p = 0.0001 < 0.05).

Report

Publication-ready report

Tests used · Results · Discussion — generated from the computed statistics.

Every claim checked · 39 numbers verified · 2 findings cross-checked · prose: llm:gemini
Reproducible code

Download the exact Jupyter notebook or Python script that reproduces these results with widely-used libraries (scipy, statsmodels, lifelines).

Run your own study

Bring your problem statement, objectives, and a dataset — thericerca does the rest.

Get started →