Answered step by step
Verified Expert Solution
Link Copied!

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 A1_College.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 : Public/private indicator
Apps : Number of applications received
Accept : Number of applicants accepted
Enroll : Number of new students enrolled
Top10perc : New students from top 10% of high school class
Top25perc : New students from top 25% of high school class
F.Undergrad : Number of full-time undergraduates
P.Undergrad : Number of part-time undergraduates
Outstate : Out-of-state tuition
Room.Board : Room and board costs
Books : Estimated book costs
Personal : Estimated personal spending
PhD : Percent of faculty with Ph.D.s
Terminal : Percent of faculty with terminal degree
S.F.Ratio : Student/faculty 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 (i.e, 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 side-by-side boxplots of Outstate versus Private. What do you observe from the side-by-side 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Wait Statistics

Authors: Enrico Van De Laar

1st Edition

1484211391, 9781484211397

More Books

Students also viewed these Databases questions

Question

How can assertiveness help you cope with anger? Critical T hinking

Answered: 1 week ago