From our global data (GlobalData.sav), pick one of the following variables: Sex, Smoker, Region
Next, pick one of the following variables: Age, BMI, Charges
Make a tables that gives the mean, standard deviation, and range of the variable you picked in question 2 by the categorical variable you picked in question 1. For instance, if I picked children as my scale variable and region as my categorical variable, I would have the those statistics for each of the four regions of the country. The table looks like this:
Report
Number of Dependents
Region of Country
Mean
Std. Deviation
Minimum
Maximum
Range
Northeast
1.05
1.206
0
5
5
Northwest
1.15
1.174
0
5
5
Southeast
1.05
1.179
0
5
5
Southwest
1.14
1.279
0
5
5
Total
1.10
1.209
0
5
5
Copy and paste your table into your discussion and write a paragraph about what you find interesting about your data.
Sample Solution