Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please use the data file A 1 _ College.csv to answer the following questions. This data set contains a number of features for different universities
Please use the data file ACollege.csv to answer the following questions. This data set contains a number of features for different universities and colleges in the US The
variables are
Private : Publicprivate indicator
Apps : Number of applications received
Accept : Number of applicants accepted
Enroll : Number of new students enrolled
Topperc : New students from top of high school class
Topperc : New students from top of high school class
FUndergrad : Number of fulltime undergraduates
PUndergrad : Number of parttime undergraduates
Outstate : Outofstate tuition
Room.Board : Room and board costs
Books : Estimated book costs
Personal : Estimated personal spending
PhD : Percent of faculty with PhDs
Terminal : Percent of faculty with terminal degree
SFRatio : Studentfaculty ratio
perc.alumni : Percent of alumni who donate
Expend : Instructional expenditure per student
Grad.Rate : Graduation rate
a Read the data into R using the read.csv function. Call the loaded data college. How many observations ie number of rows in the data set? What do the rows and columns represent?
b Find the mean and standard deviation for the variables Apps and Enroll
c Find the number and percentage of schools in the data set that are public.
d Create a boxplot for the variable Outstate
e Create a sidebyside boxplots of Outstate versus Private What do you observe from the sidebyside boxplots?
f Use the hist function to create a histogram for the variable Outstate
g Create a scatterplot of the variable Apps versus the variable Accept Comment on your findings.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started