MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
6th Edition
ISBN: 9781119256830
Author: Amos Gilat
Publisher: John Wiley & Sons Inc
Bartleby Related Questions Icon

Related questions

Question
ht then click on format trendline.4.Click on linear and choose line of equation and R2 val
ue.5.Then ok.Solution:Here we have to find the equation of line and graph.So we get ap
propriate graph and the equation of line using excel.Steps: 1.Enter x and y values in exce
I sheet.2.Select x and y values and click on insert then click on scatter plot.3.Click on any
point on the graph click right then click on format trendline.4. Click on linear and choose
line of equation and R2 value.5.Then ok.
50
50
> 30
20
10
0
O
Scatter plot
y-3.7791x-4.4767
R*-0.9709
-Linear (Series1)
14
So we get the equation of line is,y=-4.4767+3.7791xAnd we get R2=0.9709So we get th
e equation of line is,y=-4.4767+3.7791xAnd we get R2=0.9709
Now we have to predict y at x=15.y=-4.4767+3.7791xput x=15 in the above equationy=
-4.4767+3.7791(15)y=52.2098so we predict y at x=15 isy=52Now we have to predict y a
tx=15.y=-4.4767+3.7791xput x-15 in the above equationy=-
4.4767+3.7791(15)y=52.2098so we predict y at x=15 isy=52
Process of fitting of linear regression model. The linear regression model is,y=mx+c Whe
re, Independent variable (x) and dependent variable (y).m is the slope and c is constant.
It helps us to estimate the contribution of independent variable/variables (X or group of
Xs) on the dependent variable (Y).In fitting we estimate the parameter m and c.For che
cking our model is good fit or not we find R2 value.R2: The most common interpretation
of r-squared is how well the regression model explains observed data. In our case R2=
97% reveals that 97% of the variability observed in the target variable is explained by th
e regression model.So we can say that our model is good fit. From the R2 value we can s
ay that the linear model is the most appropriate model to the given x and y valueswhich
is good fit.
5) Based on your equation if you have 15 x's, how many y's would your model
predict?
6) Think about the overall process required to build a good model. Describe the
process.
expand button
Transcribed Image Text:ht then click on format trendline.4.Click on linear and choose line of equation and R2 val ue.5.Then ok.Solution:Here we have to find the equation of line and graph.So we get ap propriate graph and the equation of line using excel.Steps: 1.Enter x and y values in exce I sheet.2.Select x and y values and click on insert then click on scatter plot.3.Click on any point on the graph click right then click on format trendline.4. Click on linear and choose line of equation and R2 value.5.Then ok. 50 50 > 30 20 10 0 O Scatter plot y-3.7791x-4.4767 R*-0.9709 -Linear (Series1) 14 So we get the equation of line is,y=-4.4767+3.7791xAnd we get R2=0.9709So we get th e equation of line is,y=-4.4767+3.7791xAnd we get R2=0.9709 Now we have to predict y at x=15.y=-4.4767+3.7791xput x=15 in the above equationy= -4.4767+3.7791(15)y=52.2098so we predict y at x=15 isy=52Now we have to predict y a tx=15.y=-4.4767+3.7791xput x-15 in the above equationy=- 4.4767+3.7791(15)y=52.2098so we predict y at x=15 isy=52 Process of fitting of linear regression model. The linear regression model is,y=mx+c Whe re, Independent variable (x) and dependent variable (y).m is the slope and c is constant. It helps us to estimate the contribution of independent variable/variables (X or group of Xs) on the dependent variable (Y).In fitting we estimate the parameter m and c.For che cking our model is good fit or not we find R2 value.R2: The most common interpretation of r-squared is how well the regression model explains observed data. In our case R2= 97% reveals that 97% of the variability observed in the target variable is explained by th e regression model.So we can say that our model is good fit. From the R2 value we can s ay that the linear model is the most appropriate model to the given x and y valueswhich is good fit. 5) Based on your equation if you have 15 x's, how many y's would your model predict? 6) Think about the overall process required to build a good model. Describe the process.
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
MATLAB: An Introduction with Applications
Statistics
ISBN:9781119256830
Author:Amos Gilat
Publisher:John Wiley & Sons Inc
Text book image
Probability and Statistics for Engineering and th...
Statistics
ISBN:9781305251809
Author:Jay L. Devore
Publisher:Cengage Learning
Text book image
Statistics for The Behavioral Sciences (MindTap C...
Statistics
ISBN:9781305504912
Author:Frederick J Gravetter, Larry B. Wallnau
Publisher:Cengage Learning
Text book image
Elementary Statistics: Picturing the World (7th E...
Statistics
ISBN:9780134683416
Author:Ron Larson, Betsy Farber
Publisher:PEARSON
Text book image
The Basic Practice of Statistics
Statistics
ISBN:9781319042578
Author:David S. Moore, William I. Notz, Michael A. Fligner
Publisher:W. H. Freeman
Text book image
Introduction to the Practice of Statistics
Statistics
ISBN:9781319013387
Author:David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:W. H. Freeman