Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

analyzing the College data frame included in the ISLR package. The goal of this assignment is to become more familiar with working with data in

analyzing the College data frame included in the ISLR package. The goal of this assignment is to become more familiar with working with data in R. All analyses must be performed in R using tidyverse, ggplot2, and other packages discussed in class. Provide youranswers and all code used to obtain them under the respective questions in this Word document
3) Last, we will compare relationships between the percentage of students from the top of their high school class and out-of-state tuition at public and private colleges.

a. [10 points] Using different colored points for public and private colleges, create a scatterplot with the percentage of students from the top of their high school class on the axis and the out-of-state tuition on the axis. Overlay each set of points with a smoothed line of the same color withconfidence bands. Remember to avoid overplotting.

b. [10 points] Using faceting, create side-by-side scatterplots for public and private schools, with the number of students from the top of their high school class on each axis and the out-of-state tuition on each axis. Overlay each scatterplot with a smoothed line with confidence bands. Remember to avoid overplotting.

c. [5 points] Is the out-of-state tuition generally higher at public or private colleges?

d. [5 points] Is the correlation between the percentage of students in the top of their high school class and the out-of-state tuition stronger for public or private colleges?

e. [5 points] Why are the confidence bands generally wider for public than for private colleges?

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

A Complete Guide To Data Science Essentials

Authors: Miguel

1st Edition

9358684992, 978-9358684995

More Books

Students also viewed these Databases questions