SDOH Medication Risk Analysis Report (ver2)

1. Key Variables Analysis

Never Visit Outcome
Red = higher risk (never visit), blue = lower risk (ever visit).

2. Data Preparation (New Variables Created)

New variables: med_risk (Medication Risk Group), sdoh_high (SDOH High Concerns), concern_count (SDOH Concern Count), concern_level (SDOH Concern Level), comprehensive (Comprehensive Risk).

Medication Risk Group
Red = high medication risk, blue = lower risk groups.
SDOH High Concerns
Red = high SDOH concerns, blue = no high concerns.
SDOH Concern Count
Red = higher concern counts, blue = zero concerns.
SDOH Concern Level
Red = higher concern levels, blue = no concerns.
Comprehensive Risk
Red = high comprehensive risk, blue = lower risk.

4. Visit Outcome vs Risk Factors


======================================================================
ANALYSIS: Never Visit vs Medication Risk Group
======================================================================

Contingency Table (never_visit vs MED_RISK_GROUP):
MED_RISK_GROUP  High  Medium   All
never_visit                       
0                962     133  1095
1                772      43   815
All             1734     176  1910

Chi-square statistic: 25.5462
P-value: 0.000000
Degrees of freedom: 1
Statistical significance (α=0.05): Yes

Percentages by MED_RISK_GROUP (by column):
MED_RISK_GROUP   High  Medium
never_visit                  
0               55.48   75.57
1               44.52   24.43

Never Visit Rates by MED_RISK_GROUP:
  High: 772/1734 (44.5%)
  Medium: 43/176 (24.4%)

======================================================================
ANALYSIS: Never Visit vs SDOH High Concerns
======================================================================

Contingency Table (never_visit vs HAS_HIGH_SDOH_CONCERNS):
HAS_HIGH_SDOH_CONCERNS   0.0  1.0   All
never_visit                            
0                       1010   85  1095
1                        752   63   815
All                     1762  148  1910

Chi-square statistic: 0.0000
P-value: 1.000000
Degrees of freedom: 1
Statistical significance (α=0.05): No

Percentages by HAS_HIGH_SDOH_CONCERNS (by column):
HAS_HIGH_SDOH_CONCERNS    0.0    1.0
never_visit                         
0                       57.32  57.43
1                       42.68  42.57

Never Visit Rates by HAS_HIGH_SDOH_CONCERNS:
  0.0: 752.0/1762.0 (42.7%)
  1.0: 63.0/148.0 (42.6%)

======================================================================
ANALYSIS: Never Visit vs Comprehensive Risk
======================================================================

Contingency Table (never_visit vs comprehensive_risk):
comprehensive_risk  High Med + High SDOH  High Med + Low SDOH  Low Med + High SDOH  Low Med + Low SDOH   All  
never_visit                                                                                                    
0                                     72                  890                   13                 120  1095  
1                                     61                  711                    2                  41   815  
All                                  133                 1601                   15                 161  1910  

Chi-square statistic: 27.2930
P-value: 0.000005
Degrees of freedom: 3
Statistical significance (α=0.05): Yes

Never Visit Rates by comprehensive_risk:
  High Med + High SDOH: 61/133 (45.9%)
  High Med + Low SDOH: 711/1601 (44.4%)
  Low Med + High SDOH: 2/15 (13.3%)
  Low Med + Low SDOH: 41/161 (25.5%)

5. Statistical Summary

This section summarizes the statistical tests and key findings from the above analyses, including chi-square statistics, p-values, and significance for each risk factor comparison.


Report Generated: SDOH Medication Risk Analysis
Clinical Decision Support Tool for SDOH and Medication Risk Stratification