sofia3226
sofia3226
25.10.2019 • 
Mathematics

Simpson’s paradox and regression. simpson’s paradox occurs when a relationship between variables within groups of observations reverses when all of the data are combined. the phenomenon is usually discussed in terms of categorical variables, but it also occurs in other settings. here is an example: datadata datadata data datadata data data data datadata data data data datadata data data data datadata data data data datadata data data data datadata data data data datadata data datadata data data data d a t a f i l e simpsonreg yx group yx group 10.1 1 1 18.3 6 2 8.9 2 1 17.1 7 2 8.0 3 1 16.2 8 2 6.9 4 1 15.1 9 2 6.1 5 1 14.3 10 2
(a) make a scatterplot of the data for group 1.
(b)-find the least squares regression line and add it to your plot.
(c)-describe the relationship between y and x for group 1.
(d)-do the same for group 2.
(e)-make a scatterplot using all 10 observations. find the leastsquares line and add it to your plot.
(df)-make a plot with all of the data using different symbols for the two groups. include the three regression lines on the plot.

write a paragraph about simpson’s paradox for regression using this graphical display to illustrate your description.

Solved
Show answers

Ask an AI advisor a question