Question: Hi i'm stuck on question 3 and 4- specifically 4, but i'd really appreciate some guidance on both, please see image attached. Answers to Q1

Hi i'm stuck on question 3 and 4- specifically 4, but i'd really appreciate some guidance on both, please see image attached.

Answers to Q1 :

1a) mpg and disp

cov(mpg, disp)

[1] -633.0972

1b) mpg and wt

cov(mpg, wt)

[1] -5.116685

1c) disp and wt

cov(disp, wt)

[1] 107.6842

Answers to Q2:

2a) mpg and disp

cor(mpg, disp)

[1] -0.8475514

2b) mpg and wt

cor(mpg, wt)

[1] -0.8676594

2c) disp and wt

cor(disp, wt)

[1] 0.8879799

Do i need to calculate the variance of mpg, disp, and wt to answer the G4....?

Hi i'm stuck on question 3 and 4- specifically 4, but i'd

icroso Word - Assignment 1.docx 131% + E 1) What is covariance between, 3) mpg and disp? (2 marks, 1 mark for correct answer 1 mark for providing correct code) b) mpg and wt? (2 marks, 1 mark for correct answer 1 mark for providing correct code) c) disp and wt? (2 marks, 1 mark for correct answer 1 mark for providing correct code) What is correlation between, a) mpg and disp? (2 marks, 1 mark for correct answer 1 mark for providing correct code) b) mpg and wt? (2 marks, 1 mark for correct answer 1 mark for providing correct code) c) disp and wt? (2 marks, 1 mark for correct answer 1 mark for providing correct code) Why are correlations similar in magnitude and but covariances so different? (5 marks) If possible calculate and report statistics to support your answer to question 3. If not possible, explain why. (4 marks)

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 Mathematics Questions!