Testing a Potential Moderator Assignment
My Program:
Program Output and Summary:
Pearson Correlation Test Results for life expectancy and HIV rate
A Pearson Correlation test revealed associations between life expectancies and HIV rates that are statistically significant - 0.0005<p<3.12e-13 - and are moderately to substantially negative - -0.9<r< -0.55 - for countries of all income classes, which are clearly illustrated by the scatterplot graphs above.
Pearson Correlation Test Results for life expectancy and breast cancer cases
A Pearson Correlation test revealed an association between life expectancy and breast cancer cases that is statistically significant - p<0.0018<0.05 - and moderately positive - r<0.51 - for Upper Income countries, i.e., countries with 2010 Gross Domestic Product per capita in constant 2000 US$, greater than 8550.03. Associations for countries in other income classes were quite weak and statistically insignificant. All of these associations are clearly illustrated in the graphs above.


















