Sidewall panels for the interior of an airplane are formed in a 1500-ton press. The unit manufacturing cost varies with the production lot size. The following data give the average cost per unit (in hundreds of dollars) for this product (y) and the production lot size (x). The scatter diagram indicates that a second-order polynomial may be appropriate. We will fit the model Y = BO+B₁x + B₁₁x² +e. y X per unit, y 1.90 1.80 1.70 1.60 1.50 1.40 1.30 1.20 1.10 1.00 1.81 20 • 1.70 1.65 25 30 20 30 40 1.55 35 1.48 40 50 60 60 70 80 90 Lot size, x 1.40 50 1.30 60 1.26 65 1.24 1.21 1.20 1.18 70 75 80 80 Refer to fitlm. From its output, determine the b0, b1, and b11. Do not simply enter the values but work with objects in MATLAB. You can also search How to get the p-value as an output of fitim on MATLAB Answers. Hint: pure quadratic

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
Polynomial Regression Model
Sidewall panels for the interior of an airplane are formed in a 1500-ton press. The unit manufacturing cost varies with the production lot size. The following data give the average
cost per unit (in hundreds of dollars) for this product (y) and the production lot size (x). The scatter diagram indicates that a second-order polynomial may be appropriate. We will fit
the model Y = B₁ + B₁x +B₁₂₁x² +€.
y
X
Average cost per unit, y
1.90
1.80
1.70
1.60
1.50
1.40
1.30
1.20
1.10
1.00
1.81
20
•
3 y=
4
20 30 40
Script>
1 % x and y
2 X=
1.70 1.65 1.55 1.48
25
30 35 40
8 % be
9 be=
50 60
Lot size, x
10
11 % b1
12 b1=
13
14 % b11
15 b11=
16
17
70 80
Refer to fitlm. From its output, determine the b0, b1, and b11. Do not simply enter the values but work with objects in MATLAB. You can also search How to get the p-value as an
output of fitim on MATLAB Answers.
Hint: pure quadratic
90
5% use fitlm
6 mdl=fitlm(x,y, 'purequadratic')
7
1.40 1.30 1.26
50
60
65
1.24 1.21 1.20 1.18
70 75 80 80
My Solutions >
Save C Reset
MATLAB Documentation
▶ Run Script
?
Transcribed Image Text:Polynomial Regression Model Sidewall panels for the interior of an airplane are formed in a 1500-ton press. The unit manufacturing cost varies with the production lot size. The following data give the average cost per unit (in hundreds of dollars) for this product (y) and the production lot size (x). The scatter diagram indicates that a second-order polynomial may be appropriate. We will fit the model Y = B₁ + B₁x +B₁₂₁x² +€. y X Average cost per unit, y 1.90 1.80 1.70 1.60 1.50 1.40 1.30 1.20 1.10 1.00 1.81 20 • 3 y= 4 20 30 40 Script> 1 % x and y 2 X= 1.70 1.65 1.55 1.48 25 30 35 40 8 % be 9 be= 50 60 Lot size, x 10 11 % b1 12 b1= 13 14 % b11 15 b11= 16 17 70 80 Refer to fitlm. From its output, determine the b0, b1, and b11. Do not simply enter the values but work with objects in MATLAB. You can also search How to get the p-value as an output of fitim on MATLAB Answers. Hint: pure quadratic 90 5% use fitlm 6 mdl=fitlm(x,y, 'purequadratic') 7 1.40 1.30 1.26 50 60 65 1.24 1.21 1.20 1.18 70 75 80 80 My Solutions > Save C Reset MATLAB Documentation ▶ Run Script ?
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Similar questions
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