Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Note: Many of these questions ask you to work with a categorical variable from the Student Survey data set. Most variables in that data set

Note: Many of these questions ask you to work with a categorical variable from the Student Survey data set. Most variables in that data set are presented as numerical, but remember that you can re-express any numerical variable as a categorical variable by splitting the numerical scale. For example, you could take average hours of sleep, a numerical variable, and create a new categorical variable that answers the question "do you average 8 or more hours of sleep?" ('yes' for those students at 8+ hours and 'no' for those <8). 1. Pick one numerical variable from the Student Survey data set. Using the tools of Chapter 2, create an appropriate visualization of the variable in R Studio and fully describe the distribution. Did you find anything interesting or unexpected about this distribution? 2. Pick one categorical variable from the Student Survey data set. Remember that you can always take a numerical variable and treat it as an ordinal categorical variable by dividing the range up into bins. Using the tools of Chapter 2, create an appropriate visualization of the variable in R Studio and fully describe the distribution. Did you find anything interesting or unexpected about this distribution? 3. Pick two variables from the Student Survey data set: one categorical and one numerical, preferably two variables that you suspect might have some interesting relationship. Create a side-by-side boxplot in R Studio and discuss any interesting patterns you found.

credits GPA GPA_exp study_hrs study_hrs_211 sleep_hrs meals_cooked meals_takeout exer_hrs people_hh music instruments shoes SP_pre SP_post
5 0 3.7 10 10 7 8 4 5 4 No NA 2 2 3
15 2.96 3 20 7 7 21 0 5 4 No NA 11 2 2
15 4 4 49 15 8 1 2 2 3 Yes piano 3 5 5
5 3.43 3.8 40 40 8 21 0 16 2 No NA 2 0 0
15 3.36 3 35 13 9 20 1 6 4 No NA 13 7 7
12 3.04 2.9 30 12 7 20 1 1 2 Yes Piano, french horn, and classical vocals 6 0 0
5 3.5 3.5 10 10 7 14 1 5 4 No NA 6 5 5
15 3.3 3.5 7 4 8 3 8 5 3 No NA 6 4 6
20 3.53 3.8 40 10 8 2 1 1 6 No none 15 1 2
11 2.61 3 30 10 7 3 3 1 3 Yes I sing. 10 4 3
15 3.8 4 21 3 7 18 2 9 2 No NA 12 5 6
15 3.9 4 25 10 8.5 16 5 7 3 Yes Piano + drums 10 4 4
15 3.94 4 35 15 8 6 0 16 6 Yes violin 5 3 3
15 3.3 3.4 20 4 9 2 1 0 3 No NA 6 3 3
15 0 3.5 35 10 8 19 2 2 2 No NA 4 2 4
15 3.9 3.8 25 8 9 3 1 8 4 No NA 2 0 1
15 3.9 3.8 25 9 9 5 1 2 4 No NA 2 0 0
8 3.3 4 15 7.5 6 12 3 6 6 No NA 6 2 4
15 3.93 4 20 12 9 20 4 28 4 Yes Piano 5 3 6
5 3.8 4 15 15 7 0 8 7 3 No NA 5 6 8
15 3.51 3.8 25 10 7 4 10 7 4 No NA 3 6 6
5 3.8 4 4 10 9 2 2 3 3 Yes Piano 16 5 8
20 3.3 3 30 8 8 10 3 4 3 Yes Guzheng 10 8 10
10 3.2 3.7 7 4 5 3 5 3 2 Yes piano, guitar, violin 7 2 7
20 3.5 3.7 30 6 10 0 4 0 6 Yes Piano 15 2 3
20 3.5 3.7 30 6 10 0 4 0 6 Yes Piano 15 2 3
15 3.19 3.5 35 20 5 14 0 5 4 Yes Drums 4 3 2
15 3 3.6 15 5 8 10 6 9 4 No NA 7 10 10
15 3.62 4 40 12 8 6 6 1 0 Yes piano 6 3 3
10 4 3.8 15 10 8 6 1 2 2 No NA 12 3 3
12 3.15 3.6 63 28 7 1 1 7 14 No NA 3 3 3

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

Precalculus Enhanced With Graphing Utilities

Authors: Michael Sullivan, Michael Sullivan III

7th Edition

0134268210, 9780134268217

More Books

Students also viewed these Mathematics questions

Question

Improving creative problem-solving ability.

Answered: 1 week ago