You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SHAP Value Methods was applied to check the associations between suicide rates and rurality, altitude, climate factors, and social economic factors from 2010 to 2020. Suicide rates are divided to 3 groups: suicide by all means, suicides by firearms, suicides by non-firearms. SHAP values are investigated in each single year and multiple 5-year periods such as 2010 to 2014, 2011 to 2015 ans so on.
Climate Factors includes mean temperature, visibility, precipitation and so on. The code to collect climate data can be found here: Climate Factors
Social economic factors includes poverty, unemployment, disabled, and so on. The code to collect social economic data from Census API can be found here: Social Economic Factors
Since only about 1000 counties have the suicide death records from CDC, I imputed the suicide rates by assigning the average suicide rates from the abjecent counties. The code to impute suicide rates can be found here: Suicide Rate Imputation
Here I am using SHAP Values in year 2016 as an example to show you how I built the model and get the results.
Random forest method was used to check the feature importance before SHAP Value method was applied.
Random Forest Feature Importance for Climate Factors
Random Forest Feature Importance for Social Economic Factors
Random Forest Feature Importance for All factors
SHAP Values for Overall Suicide rates(Suicide death caused by firearms and Non-firearms)
Plot bar graph to rank SHAP values for climate factors
Beewarm graoh to rank SHAP values for climate factors
Interaction between elevation/altitude(y-axis) and rurality(x-axis)
Interaction between elevation/altitude(x-axis) and rurality(y-axis)
SHAP Value of social economic factors for one county as an example
Plot bar graph to rank SHAP values for social economic factors
Beewarm graoh to rank SHAP values for social economic factors
SHAP Values for Firearm Suicide rates(Suicide rates by Firearm)
Plot bar graph to rank SHAP values for climate factors
Beewarm graoh to rank SHAP values for climate factors
Interaction between elevation/altitude(y-axis) and rurality(x-axis)
Interaction between elevation/altitude(x-axis) and rurality(y-axis)
SHAP Value of social economic factors for one county as an example
Plot bar graph to rank SHAP values for social economic factors
Beewarm graoh to rank SHAP values for social economic factors
About
SHAP Value Methods was applied to check the associations between suicide rates and rurality, altitude, climate factors, and social economic factors. Suicide rates are divided to 3 groups: suicide by all means, suicides by firearms, suicides by non-firearms. SHAP values are investigated in each single year and 5-year periods from 2010 to 2020