a. What is the equation of the line relating HDL to these variables? b. Interpret the effect of Smoking Status on HDL. c. Which of these variables are significantly associated with HDL at the alpha = 0.05 level? d. Do you think this line fits the data well?

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

This is my question! All parts please. 

2. Consider the following output from a linear regression relating HDL
Cholesterol to a number of health variables. These variables are:
Your collaborator has run the analysis in R (a statistics program different from
Stata). Attached is the output of this analysis.
BMI (measured kg/m^2)
Systolic Blood Pressure (mmHg)
Smoking status (1= Smoker, 0 = Nonsmoker)
Sex (1= Male, 0 = Female)
Age (years)
> mod1<-1m (HDL-bmi+sbp+smoke+sex+age)
> summary(mod1)
Call:
1m(formula HDL bmi + sbp + smoke+sex+ age)
Residuals:
Min
10 Median
3Q
-2.8300 -0.4388 0.1196 0.4696
bmi
sbp
smoke
sex
age
Max
2.1447
Coefficients:
Estimate Std. Error t value Pr(>ltl)
(Intercept) 76.585892 0.866229 88.413 < 2e-16 ***
0.051013
-0.181355
0.015292 3.336 0.001218 **
< 2e-16 ***
0.006846 -26.491
0.191234
0.868 0.387347
0.220196
0.197617 3.620 0.000477 ***
-0.385744 0.006999 -55.113
<2e-16 ***
0.715427
Signif. codes: 0 ***¹ 0.001 ***¹ 0.01 *¹0.05.¹0.1'' 1
Residual standard error: 0.9659 on 94 degrees of freedom
Multiple R-squared: 0.9795, Adjusted R-squared: 0.9784
F-statistic: 897.7 on 5 and 94 DF, p-value: < 2.2e-16
a. What is the equation of the line relating HDL to these variables?
b. Interpret the effect of Smoking Status on HDL.
c. Which of these variables are significantly associated with HDL at the alpha
= 0.05 level?
d. Do you think this line fits the data well?
Transcribed Image Text:2. Consider the following output from a linear regression relating HDL Cholesterol to a number of health variables. These variables are: Your collaborator has run the analysis in R (a statistics program different from Stata). Attached is the output of this analysis. BMI (measured kg/m^2) Systolic Blood Pressure (mmHg) Smoking status (1= Smoker, 0 = Nonsmoker) Sex (1= Male, 0 = Female) Age (years) > mod1<-1m (HDL-bmi+sbp+smoke+sex+age) > summary(mod1) Call: 1m(formula HDL bmi + sbp + smoke+sex+ age) Residuals: Min 10 Median 3Q -2.8300 -0.4388 0.1196 0.4696 bmi sbp smoke sex age Max 2.1447 Coefficients: Estimate Std. Error t value Pr(>ltl) (Intercept) 76.585892 0.866229 88.413 < 2e-16 *** 0.051013 -0.181355 0.015292 3.336 0.001218 ** < 2e-16 *** 0.006846 -26.491 0.191234 0.868 0.387347 0.220196 0.197617 3.620 0.000477 *** -0.385744 0.006999 -55.113 <2e-16 *** 0.715427 Signif. codes: 0 ***¹ 0.001 ***¹ 0.01 *¹0.05.¹0.1'' 1 Residual standard error: 0.9659 on 94 degrees of freedom Multiple R-squared: 0.9795, Adjusted R-squared: 0.9784 F-statistic: 897.7 on 5 and 94 DF, p-value: < 2.2e-16 a. What is the equation of the line relating HDL to these variables? b. Interpret the effect of Smoking Status on HDL. c. Which of these variables are significantly associated with HDL at the alpha = 0.05 level? d. Do you think this line fits the data well?
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman