Question
1.The data set obese.dta is part of a Framingham study of heart disease risks. This subset includes several variables, including age, sex and obese. Data
1.The data set obese.dta is part of a Framingham study of heart disease risks. This subset includes several variables, including age, sex and obese.
Data sheet link: https://docs.google.com/spreadsheets/d/1RqIUftLupNhA6bylFtWxb77pcA2GDqMuA6SJ_4Xgkug/edit#gid=1066994098
Are my answers correct? Please verify by using statistical software and show step-by-step answers without copying and pasting from other sources. Thanks.
A.Fit a logistic regression with obese as the outcome and age as the independent variable. The equation is:
B. What is the p value for the slope? p- value < 0.001
C. Predict the probability of obesity for a 33 year old individual.
y(33) = -3.552 + 0.0348 (33) = -2.4036
e^ -2.4036 = 0.0904
p-hat = 0.0904/ 1.0904 = .083 = 8.3%
D. Would you use this data to predict a probability for obesity for an 11 year old? Why or why not?
No, because the data set includes ages ranged from 30 to 66 years old, and this range does not include 11-year-old children, so it would not be an accurate predictor of probability because ages close the range are missing.
E. Now fit a logistic regression with obese as the outcome and sex as the independent variable. The odds ratio for probability of obesity for women relative to men is:
Which answer below is correct? Please show your work through statistical software. Thanks.
OR = e^0.2869 = 1.33 or
ln = -2.086606 + 0.2868784 = -1.8
OR = e^-1.8= 0.17
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started