This is what I have so far d1 being the regression object gt;cooksd lt;- cooks.

I need help finding the necessary code in Rstudio to solve a question.

This is what I have so far

d1 being the regression object

>cooksd <- cooks.distance(d1)

> dbs <- dfbetas(d1)

What Rcode can I use to to make a new object, which include the values of “dbs” and the values that relate to the predictor.

do I just insert “dbs” back into the dfbetas() function?

Looking for this or a Similar Assignment? Click below to Place your Order Instantly!