Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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....?
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started