Question: Using the plasma retinol data in Chapter 1, remove the former smokers as well as the leverage points from the data set and use the

Using the plasma retinol data in Chapter 1, remove the former smokers as well as the leverage points from the data set and use the R function logrsm to verify that as plasma beta-carotene increases, the likelihood that a participant is a smoker decreases. Also verify that when testing at the 0.05 level, you find an association based on a logistic regression model Hint: One way of pulling out the subset of values desired is as follows. First set yy=plasma[,3], xx=plasma[,13] and flag=(yy!=2).

Then yy[flag] and xx[flag] contain the data for never smoked and current smoker. To remove leverage points, set the argument xout=T.

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 Probability Statistics Questions!