Solution | Social Determinants of Health#
Overview#
Business case#
Social determinants of health (SDOH), including housing, food security, transportation, and social support, shape health and access to care. Addressing these needs can also deliver financial value: CMS’s 2026 evaluation of the Accountable Health Communities Model reported more than $200 million in net savings from screening and community navigation. These results concern the evaluated program, rather than a financial return demonstrated by this Solution.
Combining community social factors with modeled health prevalence helps healthcare and life sciences teams:
Identify places for closer review where social vulnerability and health burdens overlap.
Inform outreach and access planning through geographic comparisons and discussions with local partners.
Support program evaluation using access, utilization, cost, and quality measures when linked to appropriate operational data.
Health systems, insurers, government agencies, and pharmaceutical and medical device companies can use these insights to inform efforts to address health and therapeutic access disparities.
This template Solution helps teams explore community patterns through a reviewable Flow, an interactive Health Equity Explorer, illustrative depression and segmentation analyses, and a dataset-grounded AI agent. Its area-level insights support local validation and human review.
Installation#
From the Design homepage of a Dataiku instance connected to the internet, click + Dataiku Solutions.
Search for and select Social Determinants of Health.
If needed, change the folder into which the Solution will be installed, and click Install.
Follow the modal to either install the technical prerequisites below or request an admin to do it for you.
Note
Alternatively, download the Solution’s .zip project file, and import it to your Dataiku instance as a new project.
Technical requirements#
To use this Solution, you need:
Access to a Dataiku DSS 15.2.0+ instance, the version used by the current template.
A Python 3.13 code environment named
solution_soc-determinants-healthwith the following direct packages:Flask==3.0.0 geopandas==1.1.1 shapely==2.1.2
The supplied Census and CDC input datasets and county and tract map-geometry folders.
An available LLM connection configured for the agent if you want to use live chat.
Data requirements#
The Flow starts with four prepared input snapshots:
Census county and tract data:
us_census_county_raw_andus_census_tract_raw_contain population, geographic identifiers, and social factor counts and percentages. The example inputs were assembled from the 2023 American Community Survey 5-year data.CDC county and tract data:
us_cdc_county_raw_andus_cdc_tract_raw_contain modeled health-condition prevalence and supporting geographic and source fields derived from CDC PLACES.
Managed folders hold simplified county and tract boundaries derived from Census TIGER/Line geography. Map geometry is separate from the tabular health and vulnerability measures.
The Census preparation follows the 16-factor, four-theme CDC/ATSDR SVI framework. The relative percentiles are calculated in this Flow; they’re not an unmodified official SVI release.
Keep county FIPS codes as five-character text and tract FIPS codes as 11-character text, including leading zeros. Validate uniqueness at the appropriate grain: one record per geography for Census inputs and geography plus health measure for CDC inputs. Check field names, units, coverage, missingness, and boundary alignment against the Data Model article in the project wiki.
Workflow overview#
You can follow the Solution in the Dataiku gallery.
The project has the following high-level steps:
Start with prepared county and tract snapshots in US Input Data.
Clean social factors and calculate vulnerability measures in US Census Data Prep.
Standardize and reshape modeled health prevalence in US CDC Data Prep.
Join the branches into county and tract tables in US Delivery - Ready Datasets.
Train and score illustrative depression regression and social vulnerability segmentation models in US Tract Analytics Examples.
Answer supported geographic questions with the Health Equity Agent in Agentic Flow.
Explore the results through the webapp and three-tab dashboard, with human review of their interpretation.
Walkthrough#
Note
In addition to reading this document, it’s recommended to read the wiki of the project before beginning to get a deeper technical understanding of how this Solution was created and more detailed explanations of Solution-specific vocabulary.
Exploring the Flow#
Start with the supplied data and the US Health Equity Dashboard to explore the template. Its three tabs bring together the Health Equity Explorer, Social Vulnerability Segmentation, and Depression Prevalence examples.
To rebuild from the existing inputs, follow the Census and CDC preparation branches into final_dataset_county and final_dataset_tract. These delivery tables feed the explorer and agent. The tract table also supports the two illustrative model branches.
For the analytics examples, inspect the training inputs and feature settings, train the saved models, then rebuild their scoring and explanation outputs. Check row counts, geographic identifiers, missing values, numeric types, model results, and chart bindings before presenting refreshed results. The project wiki describes each branch and its dependencies.
Discover US community patterns of chronic disease prevalence and social vulnerability#
The Health Equity Explorer standard webapp lets you select a health measure, state, county, and vulnerability metric. With no state selected, the map provides a national orientation. Selecting a state shows its counties; selecting a county shows its Census tracts.
The map colors places by modeled health prevalence. The scatter plot compares prevalence with the selected vulnerability percentile, with circle size representing population. A searchable detail table supports checking the values behind the visual patterns.
Use the Review Shortlist to examine places with high combined prevalence and vulnerability ranks within the selected scope. Compare up to three areas at the same geographic level and export a selected area’s SVI profile as CSV. The shortlist is a screening aid for further review, not a validated risk score or an eligibility rule.
Health prevalence and literal social factor percentages are generally on a 0-100 scale. SVI and health percentiles are relative rankings on a 0-1 scale. The national state view uses unweighted averages of available county prevalence values, not population-weighted statewide estimates. County and tract shortlist scores use different comparison groups and shouldn’t be compared with each other.
On the Social Vulnerability Segmentation tab, review a three-cluster K-means example that groups tracts with similar vulnerability factor profiles. The model report and chart help compare these exploratory groups and their health-measure distributions. Low SV, Med SV, and High SV are labels for this example, not official SVI categories or labels for residents. The groups aren’t sharply separated; inspect their profiles and local context before drawing conclusions.
Visualize associations with social vulnerability factors across areas and populations#
The Depression Prevalence tab explores associations between social vulnerability factors and modeled depression prevalence through an illustrative tract-level regression. SHAP charts show which factors moved the model’s estimates higher or lower for individual tracts, alongside a summary across tracts. These explanations describe model behavior, not the causes of depression.
Selecting another condition in the explorer doesn’t switch this model. A different outcome or data release requires preparing the target, retraining, rebuilding outputs, and reviewing performance. Model fit in this example doesn’t demonstrate validity for new places or time periods.
Ask the Health Equity Agent grounded follow-up questions#
Warning
Agent warnings This Solution includes an embedded conversational agent linked to your recommendation outputs and tools. The agent prompts are tailored to the provided sample data and use case. You must review and adapt these prompts to your own context before using them in production.
Open Ask AI Agent in the explorer to ask descriptive questions about the project data. The webapp passes the current geography, health measure, vulnerability metric, and selected areas to us_health_equity_assistant. Changing the explorer selection resets the chat context.
The agent uses five project tools to look up a county or tract, compare two to five locations at the same geographic level, rank states by average county health prevalence, rank counties within a state, and rank tracts within a county by a combined SVI-health review score.
For a walkthrough, select Virginia, Depression, and Tazewell County, then ask:
“What are the depression prevalence and overall SVI percentile for Tazewell County?”
“Which Virginia counties rank highest on the combined depression-SVI review score?”
“Which tracts in Tazewell County rank highest on the combined depression-SVI review score?”
Verify important figures against the supporting table. The agent should preserve the requested geographic level, base numeric claims on tool results, and explain when a question is outside its scope. It has no live knowledge of local program capacity, eligibility rules, or intervention effectiveness.
Responsible AI statement#
This Solution combines area-level Census and CDC PLACES data with illustrative machine learning and a dataset-grounded agent. The outputs help people examine patterns and frame questions for local review. They don’t establish causal relationships, individual need, or the likely effect of an intervention.
These are community-level estimates, not facts about individuals. Don’t use a tract’s modeled depression prevalence, vulnerability percentile, or cluster label to diagnose a person, infer their circumstances, decide eligibility, deny services, or automatically allocate resources.
Check source vintages, geographic coverage, missing values, boundary alignment, and units before interpreting a comparison. PLACES measures are modeled estimates with uncertainty; source survey data can also reflect recall, non-response, and social desirability bias. The vulnerability percentiles are calculated within the available comparison data and can change when coverage changes.
SHAP explanations describe the model’s calculations rather than causal effects. Nearby tracts can share conditions, so a random train/test split may overstate transferability to new places. Review evaluation design, subgroup performance, and model stability before adapting an example for broader use.
Verify the agent’s resolved location, geographic grain, and numeric claims against the underlying data. Review possible gaps and bias with community and public-health partners. Use the explorer, models, and chat to support human discussion and local validation rather than automated clinical or program decisions.
Reproduce these processes with minimal effort#
This template gives healthcare and life sciences teams a starting point for exploring social vulnerability alongside modeled health prevalence. Its Flow makes the preparation and analytics inspectable, while the explorer, dashboard, and agent make selected results accessible to a broader audience.
This documentation has provided several suggestions on how to derive value from this Solution. Ultimately however, the “best” approach will depend on your specific needs and data. If you’re interested in adapting this project to the specific goals and needs of your organization, Dataiku offers roll-out and customization services on demand.
