Hi i'm stuck on question 3 and 4- specifically 4, but i'd really appreciate some guidance on
Fantastic news! We've Found the answer you've been seeking!
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 :
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....?
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/07/668dd58cab8b5_276668dd58c62d0d.jpg)
Posted Date: