Question: DataFile: badhealth1.csv The data for this problem come from a study of the number of visits to the doctor for a sample of n =

 DataFile: badhealth1.csv The data for this problem come from a study
of the number of visits to the doctor for a sample of

DataFile: badhealth1.csv The data for this problem come from a study of the number of visits to the doctor for a sample of n = 1,127 people. The dataset includes three variables: "numvisit" records the total number of visits to a doctor during the year; "badh" is an indicator of whether the respondent is self-reported to have bad health (1 = yes); and "age" records the age in years, ranging from 20-60. (a) Produce a histogram of the age of visitors to the doctor for the people in this sample, being sure to label the x-axis in a meaningful way and provide a descriptive plot title. Describe the shape of the distribution. O negatively skewed O positively skewed bell shaped (b) Produce a boxplot of the age of visitors to the doctor for the people in this sample, again labeling the plot in informative ways. Boxplot of Age of Respondents Boxplot of Age of Respondents Boxplot of Age of Respondents Boxplot of Age of Respondents O 15 20 25 30 35 40 45 50 55 O 20 30 40 50 60 O 10 20 30 40 50 60 70 O 25 35 40 45 50 55 60 Age of Respondents (Years) Age of Respondents (Years) Age of Respondents (Years) Age of Respondents (Years) (c) Calculate the following summary statistics for the age of visitors to the doctor for the people in this sample. (Round your answer to two decimal places.) (i) Mean (ii) Median (iii) 87th percentile (iv) Standard deviation (v) Minimum (vi) Maximum

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!