Math 3339
Homework 2 (Chapter 2 & Sections 9.1 – 9.2)
Name:__________________________________ PeopleSoft ID:_______________
Instructions:
Homework will NOT be accepted through email or in person. Homework must be submitted through
CANVAS BEFORE the deadline.
Write in black ink or dark pencil or type your solutions in the space provided. You must show all
work for full credit.
Total possible points: 100.
1. HW2Q1.csv is adapted from the a College data set which contains a number of variables for different
universities and colleges in the US. Use R to load it into your workspace and answer the following
questions based on the dataset.
a. Find the mean and median of variable Enroll, which represents the number of new students
enrolled for each corresponding university or college.
b. Find the five number summary of Enroll and interpret each number.
c. Find the 70th percentile of Enroll using R.
d. Use R to generate a boxplot of the variable S.F.Ratio, which represent the student/faculty ratio for
each corresponding university or college.
e. Describe the distribution of the variable S.F.Ratio. Give the shape, median, range, and any
outliers.
a
An Introduction to Statistical Learning, James, G. et al (2013), Chapter 2
b
The Analysis of Biological Data, Whitlock.,M and Schluter, D. (2020), Chapter 2
c
Mathematical Statistics, Wackerly, D. et al (2011), Chapter 1
, 2. Following are the published weights (in pounds) of all of the team members of the Houston Rockets
from a previous year (Source: NBA.com).
186,210,219,203,215,195,230,215,215,183,226,229,190,215,245,243,214
a. Organize the data from the smallest to the largest value.
b. Find the median value.
c. Find the third quartile.
d. Construct a boxplot of the data.
e. Based on the shape of the data, what is the most appropriate measure for this data? Mean, or,
median? Explain.
f. The middle 50% of the weights are from what value to what value? What is the IQR?
g. Are there any outliers in the data? Use an appropriate numerical test involving IQR to identify
outliers, if any, and clearly state your conclusion.
h. Assume the population was the Houston Rockets. Find
1) The population mean
2) The population standard deviation
3) The weight that is 1.5 standard deviation below the mean.
a
An Introduction to Statistical Learning, James, G. et al (2013), Chapter 2
b
The Analysis of Biological Data, Whitlock.,M and Schluter, D. (2020), Chapter 2
c
Mathematical Statistics, Wackerly, D. et al (2011), Chapter 1
Homework 2 (Chapter 2 & Sections 9.1 – 9.2)
Name:__________________________________ PeopleSoft ID:_______________
Instructions:
Homework will NOT be accepted through email or in person. Homework must be submitted through
CANVAS BEFORE the deadline.
Write in black ink or dark pencil or type your solutions in the space provided. You must show all
work for full credit.
Total possible points: 100.
1. HW2Q1.csv is adapted from the a College data set which contains a number of variables for different
universities and colleges in the US. Use R to load it into your workspace and answer the following
questions based on the dataset.
a. Find the mean and median of variable Enroll, which represents the number of new students
enrolled for each corresponding university or college.
b. Find the five number summary of Enroll and interpret each number.
c. Find the 70th percentile of Enroll using R.
d. Use R to generate a boxplot of the variable S.F.Ratio, which represent the student/faculty ratio for
each corresponding university or college.
e. Describe the distribution of the variable S.F.Ratio. Give the shape, median, range, and any
outliers.
a
An Introduction to Statistical Learning, James, G. et al (2013), Chapter 2
b
The Analysis of Biological Data, Whitlock.,M and Schluter, D. (2020), Chapter 2
c
Mathematical Statistics, Wackerly, D. et al (2011), Chapter 1
, 2. Following are the published weights (in pounds) of all of the team members of the Houston Rockets
from a previous year (Source: NBA.com).
186,210,219,203,215,195,230,215,215,183,226,229,190,215,245,243,214
a. Organize the data from the smallest to the largest value.
b. Find the median value.
c. Find the third quartile.
d. Construct a boxplot of the data.
e. Based on the shape of the data, what is the most appropriate measure for this data? Mean, or,
median? Explain.
f. The middle 50% of the weights are from what value to what value? What is the IQR?
g. Are there any outliers in the data? Use an appropriate numerical test involving IQR to identify
outliers, if any, and clearly state your conclusion.
h. Assume the population was the Houston Rockets. Find
1) The population mean
2) The population standard deviation
3) The weight that is 1.5 standard deviation below the mean.
a
An Introduction to Statistical Learning, James, G. et al (2013), Chapter 2
b
The Analysis of Biological Data, Whitlock.,M and Schluter, D. (2020), Chapter 2
c
Mathematical Statistics, Wackerly, D. et al (2011), Chapter 1