Question: Using model 2, study the predict() function and use it to predict the chance a Pima woman will develop diabetes if she has been pregnant

Using model 2, study the predict() function and use it to predict the chance a Pima woman will develop diabetes if she has been pregnant 10 times, has a body mass index of 40, is 50 years old and has a triceps skin fold thickness of 40 mm. Use predict to find the standard error of this estimate.

Use R

pimafiltered = filter(pima, bmi > 0 & triceps >0)

model2: lm(test~bmi+age+triceps+pregnant, data=pimafiltered)

pima data is from faraway package

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!