Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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?
image text in transcribed

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

Data Management Databases And Organizations

Authors: Richard T. Watson

3rd Edition

0471418455, 978-0471418450

More Books

Students also viewed these Databases questions