Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the data from 6.1 from our textbook for the multiple linear regression. Anyone can reply with texts and screenshots. Use R programming software to
Consider the data from 6.1 from our textbook for the multiple linear regression.
Anyone can reply with texts and screenshots. Use R programming software to estimate the regression coefficients. Once answered, others are required to participate by acknowledging or by replying also with additional inputs.
Consider the data from 6.1 from our textbook. x = Age y = Income From Excel and MATLAB, bo = 6.390598 and b1 = 1.494302. Simple Regression American Express Study . . . Age Income 0.7032 Coefficient of Determination X Y Error Confidence Interval for Slope 0.8386 Coefficient of Correlation 69 113 3.502564 1-a (1-a) C.I. for B, 52 91 6.905698 95% 1.494302 + or - 0.791534 s(b ,) 0.343249 Standard Error of Slope AW N 65 121 17.47977 58 81 -12.0601 Confidence Interval for Intercept 5 31 68 15.28604 1-a 1-) C.I. for Bo 6 51 92 9.4 95% 6.390598 + or - 41.44344 s(bo) 17.97197 Standard Error of Intercept 53 75 -10.5886 56 76 -14.0715 Prediction Interval for Y 42 56 -13.1513 1-a X (1-a) P.I. for Y given X 10 33 53 -2.70256 + or - s 12.86154 Standard Error of prediction Prediction Interval for E[Y X] 1-a X (1-a) P.I. for E[Y [ X] + or - ANOVA Table Source SS df MS F F critical p-value Regn. 3135.046 - 3135.046 18.95211 5.317655 0.0024 Error 1323.354 8 165.4193 Total 4458.4 g New to MATLAB? See resources for Getting Started. >> x= [69 52 65 58 31 51 53 56 42 33]; > y= [113 91 121 81 68 92 75 76 56 53]; >> mdl=fitlm (x, y ) mdl =New to MATLAB? See resources for Getting Started. >> x=[69 52 65 58 31 51 53 56 42 33] ; > > y=[113 91 121 81 68 92 75 76 56 53]; >> mdl=fitlm(x, y) mdl = Linear regression model: y ~ 1 + x1 Estimated Coefficients: Estimate SE tStat pValue (Intercept) 6. 3906 17.972 0. 35559 0. 73134 x1 1. 4943 0. 34325 4.3534 0. 0024341 Number of observations: 10, Error degrees of freedom: 8 Root Mean Squared Error: 12.9 R-squared: 0.703, Adjusted R-Squared: 0. 666 F-statistic vs. constant model: 19, p-value = 0. 00243 Anyone can reply with texts and screenshots. Use R to compute for the slope and intercept. Once answered, others are required to participate by acknowledging or by replying also with additional inputsStep 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