Question

Using program R, please help solve:

Data set is given in program R and can be seen by putting in code:

state.x77
x77<-data.frame(state.x77)


(if answered by Tuesday 6/11 evening, I will rate)

3.17 The state.x77 data set contains various information for each of the fifty United States. We wish to explore possible rel

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Converting the data to a data frame:

> x77 <- data.frame(state.x77)

Now, plotting the different variables to study their relationship:

> plot(x77$Population, x77$Frost)
Oo 0 5000 10000 15000 20000 x77$Population 00 00L 09 C x77$Frost

> plot(x77$Population, x77$Murder)
N 5000 15000 0 10000 20000 x77$Population x77$Murder 10 12 14 9

> plot(x77$Population, x77$Area)
5000 15000 0 10000 20000 x77$Population x77$Area 2e+05 4e+05 00+00

> plot(x77$Income, x77$HS.Grad)
O O 3000 3500 4000 4500 5000 5500 6000 x77$Income 09 95 09 x77$HS.Grad

As seen in the scatter plots above, none of the first 3 relationships appear linear, though there is a moderate linear relationship between Income and HS.Grad as seen in the last chart.

There is some degree of positive correlation between Population and murder rate, which is a bit surprising since this isn't something one would normally expect (population grows as murder rate increases? This isn't expected!)

Add a comment
Know the answer?
Add Answer to:
Using program R, please help solve: Data set is given in program R and can be seen by putting in code: state.x77 x77<...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Using program R, please help solve: Data set is in the program R. Can be found by inputing code: require(UsingR) homedat...

    Using program R, please help solve: Data set is in the program R. Can be found by inputing code: require(UsingR) homedata (if answered by Tuesday 6/11 evening, I will rate) 3.13 For the homedat a (UsingR) data set, make a histogram and density es- timate of the multiplicative change in values (the variable y2000/y 1970). De- scribe the shape, and explain why it is shaped thus. (Hint: There are two sides to the tracks.) 3.13 For the homedat a (UsingR)...

  • Using program R, please help solve: (if answered by Tuesday 6/11 evening, I will rate) 3.32 The data set UScereal (M...

    Using program R, please help solve: (if answered by Tuesday 6/11 evening, I will rate) 3.32 The data set UScereal (MASS) contains information about cereals on a shelf of a United States grocery store. Make a table showing the relationship between manufacturer, mfr, and shelf placement, shelf. Are there any obvi ous differences between manufacturers? 3.32 The data set UScereal (MASS) contains information about cereals on a shelf of a United States grocery store. Make a table showing the relationship...

  • Using program R, please help solve: (if answered by Tuesday 6/11 evening, I will rate) 3.31 The data set coins (Usin...

    Using program R, please help solve: (if answered by Tuesday 6/11 evening, I will rate) 3.31 The data set coins (UsingR) contains the number of coins in a change bin and the years they were minted. Do the following: 1. How much money is in the change bin? 2. Make a barplot of the years. Is there a trend? 3. Use cut to construct a barplot by decade. 4. Make a contingency table of the year and the value. Does...

  • identify the 25 correct statements in the set below identify 25 correct statements Please identify the...

    identify the 25 correct statements in the set below identify 25 correct statements Please identify the 25 correct statements in the set below: Discovery analytics focuses on the question "Why did it happen?" Predicting a presidential candidate's percentage of the statewide vote from a sample of 800 voters would be an example of inferential statistics. This year, Oxnard University produced two football All-Americans. This is an example of continuous data. Sturges' Rule is merely a suggestion, not an ironclad requirement....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT