Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

we are going to use the data frame named USStates . Below is information on this data frame. I will need to use the R

we are going to use the data frame named USStates. Below is information on this data frame. I will need to use the R Sandbox or the Jupyter Notebook to run some R codes to answer some questions.

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed
DO GET | Cal State LA X 5 MyCalStateLA - Home X Quiz: Reading Quiz 3 X Ask a Question X + X C https://calstatela.instructure.com/courses/73494/quizzes/295710/take LO CAL STATE LA Spring Semester 2022 Home Announcements D Question 1 3 pts Account Grades People 1. The USStates data frame includes information on the percentage of Dashboard residents in each state who smoke. Data is coded under the variable Modules named Smokers. Produce a histogram of Smokers, without indicating a Reading List particular number of bins or indicating a particular bin size. Where is the Courses peak of the histogram? Calendar O 16 O 15 Inbox O 20 25 History Studio ? D Question 2 3 pts Help O 6:05 PM 2/12/2022 2DO GET | Cal State LA X 5 MyCalStateLA - Home X Quiz: Reading Quiz 3 X Ask a Question X + X C https://calstatela.instructure.com/courses/73494/quizzes/295710/take LO CAL STATE LA Spring Semester 2022 Home 3 pts Announcements D Question 2 Account Grades 2. Experiment, using different numbers of bins in your histogram People of Smokers. How can you change the number of bins so that gaps do not Dashboard Modules appear between the bars in the histogram? Courses Reading List O The appearance of gaps is inherent to the data itself; gaps are unrelated to number of bins. Calendar O No answer text provided. O Create a large number of bins Inbox Create a small number of bins History Studio D Question 3 3 pts ? Help 3. Use "%>%" notation to add gf_density() (a density plot) to a density histogram of Smokers in USStates. What does the curve look like? LO 6:05 PM 2 2/12/2022DO GET | Cal State LA X $ MyCalStateLA - Home X Quiz: Reading Quiz 3 X Ask a Question X + X C https://calstatela.instructure.com/courses/73494/quizzes/295710/take LO CAL STATE Create a small number of bins LA Spring Semester 2022 Home Announcements D Question 3 3 pts Account Grades People Dashboard 3. Use "%>%" notation to add gf_density() (a density plot) to a density Modules histogram of Smokers in USStates. What does the curve look like? Courses Reading List O Bimodal O Skewed Calendar O Unimodal Inbox Uniform History D Question 4 3 pts Studio ? 4. In USStates, what's the median percentage of residents with college Help degrees? (The variable is aptly named College.) 6:05 PM 2 2/12/2022DO GET | Cal State LA X $ MyCalStateLA - Home X Quiz: Reading Quiz 3 X Ask a Question X + X C https://calstatela.instructure.com/courses/73494/quizzes/295710/take LO Uniform CAL STATE LA Spring Semester 2022 Home Announcements D Question 4 3 pts Account Grades People 4. In USStates, what's the median percentage of residents with college Dashboard degrees? (The variable is aptly named College.) Modules Courses Reading List O 27.6 O 30.6 Calendar O 34.5 O 20.2 Inbox History D Question 5 3 pts Studio ? 5. Using the USStates data frame, make a bar graph to illustrate the Help number of states that voted for Mccain and Obama (recorded as the variable Pres2008). Based on what you see, which of the following O 6:05 PM 2/12/2022 2DO GET | Cal State LA X 5 MyCalStateLA - Home X Quiz: Reading Quiz 3 X Ask a Question X + X C https://calstatela.instructure.com/courses/73494/quizzes/295710/take LO CAL STATE LA Spring Semester 2022 Home Announcements D Question 5 3 pts Account Grades 5. Using the USStates data frame, make a bar graph to illustrate the People number of states that voted for Mccain and Obama (recorded as the Dashboard Modules variable Pres2008). Based on what you see, which of the following statements is true? Courses Reading List O Mccain won in almost twice as many states as did Obama. Calendar Obama won in more than 30 states. Obama won in almost twice as many states as did Mccain. Inbox Mccain won in more than 20 states. History Studio ? Quiz saved at 6:05pm Submit Quiz Help 6:05 PM 2 2/12/2022DO GET | Cal State LA 5 MyCalStateLA - Home X Quiz: Reading Quiz 3 X Ask a Question X + X C & https://calstatela.instructure.com/courses/73494/quizzes/295710/take State 1Q Pres2008 Population College PhysicalActivity Smokers Alabama 95.7 Mccain 4.525375 24.6 70.3 24.8 Alaska 99.0 Mccain 0. 657755 29.2 79.4 24.9 Arizona 97.4 Mccain 5. 739879 30.8 75.7 20.2 OUTAWNY Arkansas 97.5 Mccain 2. 750000 26.7 73.4 23.5 5 California 95.5 Obama 35. 842038 31.1 77.2 15.2 Colorado 101.6 Obama 4. 601821 38.0 81.2 19.8 State Name of state IQ Mean IQ score of residents Pres2008 Which 2008 Presidential candidate won state? M=Mccain or O=Obama Population Number of residents (in millions) College Percentage of residents with college degrees PhysicalActivity Percentage of residents who have competed in a physical activity in the past month Smokers Percentage of residents who smoke Question 1 3 pts @ 2 1) O 7:23 PM 2/12/2022 2

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

Algebra Form And Function

Authors: William G McCallum, Eric Connally, Deborah Hughes Hallett

2nd Edition

1119032091, 9781119032090

More Books

Students also viewed these Mathematics questions

Question

2. It is the results achieved that are important.

Answered: 1 week ago

Question

7. One or other combination of 16.

Answered: 1 week ago