Question: Statistics Lab 3 b Spring 2 0 2 4 Prior to class on January 3 0 , enter your solutions to these problems using the

Statistics
Lab 3b
Spring 2024
Prior to class on January 30, enter your solutions to these problems using the form on Blackboard. Before you start working on part b, be sure steps listed in the script for part a have been executed successfully:
Load the tidyverse library, and make sure the Packages box for ggplot2 is checked: library(tidyverse)
Use the Import Dataset feature to import the csv file Chicago socioeconomic data; change the name to mydat and select 'Yes' for column headings.
Next enter and execute the following command to assign column names that are more convenient to work with:
colnames(mydat)-c('Num', 'Name', 'Crowded', 'Poverty', 'Unemployed', 'HS diploma', 'Young or old', 'Income', 'Hardship')
A scatter plot matrix is a useful graphic for seeing an overall picture of potential interactions among the variables in a dataset. The command pairs() can be used to create that figure; here is the default version: pairs(mydat)
What kind of variable in the dataset led to the error message?
You can work around that problem by incorporating the slicing technique used in part a. Modify the argument in the command pairs() to create a scatter plot based on data in columns 3 through 9. Use that figure to find answers to the following questions:
2. Which variable appears to have a negative correlation with all the other variables?
3. Which variable generally exhibits the lowest correlation relative to all the other variables?
4. Which two variables appear to exhibit the most well-defined relationship, with the least scatter?
 Statistics Lab 3b Spring 2024 Prior to class on January 30,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!