You will be using your Framingham dataset for the following questions. 7. Calculate a multivariable regression where...

80.2K

Verified Solution

Question

Statistics

Youwill be using your Framingham dataset for the following questions.

7. Calculate a multivariable regression where the outcome istotal serum cholesterol and the independent variables are BMI, age,sex and smoking status. Interpret.
8. Use the regression from question 7 to answer thefollowing.
a. What is the predicted total serum cholesterol for a 50year-old man who doesn’t smoke and whose BMI is 25?
b. What is the predicted total serum cholesterol for a 25year-old woman who smokes and whose BMI is 32?

Answer & Explanation Solved by verified expert
3.8 Ratings (573 Votes)
I have coded in R for the first part The code is as follows libraryswgee attachframingham The following objects are masked from framingham pos 3 age bmi BPVar cigpday cursmoke female glucose heartrte outcome timeoutcome totchol The following objects are masked from framingham pos 4 age bmi BPVar cigpday cursmoke female glucose heartrte outcome timeoutcome totchol The following objects are masked from framingham pos 5 age bmi BPVar cigpday cursmoke female glucose heartrte outcome    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students