Polynomial Regression Preview

P=a0+a1·TC+a2·TC2+a3·TC3+a4·TC4
Data-Table
 TCP
1-36.71
2-19.65
3-11.510
4-2.620
57.640
615.460
726.1100
842.2200
960.6400
1080.1760

Program validated. Ready to Solve.
# Example 13 - Fitting Polynomials to Pressure Data
# Verified Solution: a0 = 24.6788, a1 = 1.6062, a2 = 0.036044, a3 = 0.000413, a4 = 3.96e-6
# Ref.: Comput. Appl. Eng. Educ. 6: 173, 1998

[
TC P
-36.7 1
-19.6 5
-11.5 10
-2.6 20
7.6 40
15.4 60
26.1 100
42.2 200
60.6 400
80.1 760
]
polyfit TC P 4

Regression Model

y = a0 + a1 x + a2 x2 + a3 x3 + a4 x4

where y represents P and x represents TC

VariableValue95% confidence
a024.6787570.787233
a11.60619580.0544632
a20.0360442960.00100889
a30.000413121590.0000400467
a40.00000396314784.51405e-7

R²adjRmsdVariance
0.9999960.9999930.1410530.397920

4th order Polynomial Regression
Chart
4th order Polynomial Regression P Residuals
Chart

Data Table

 TC (x)P (y)Calculated YResidual %
1-36.711.0477125-4.771%
2-19.654.51835909.633%
3-11.51010.415373-4.154%
4-2.62020.739228-3.696%
57.64039.1623362.094%
615.46059.6941740.5097%
726.1100100.33842-0.3384%
842.2200200.26472-0.1324%
960.6400399.767920.05802%
1080.1760760.05176-0.006810%

Settings and Hints

 Name/SourceValueType
1 Polynomial Degree 4 Setting
2 Through Origin false Setting
3 Data Points 10 Setting
4 y=pol(x) P=pol(TC) Setting
5 Version 7.0.73 Setting
6 #@report_fix_digits = 8 Default (integer)
7 #@chart_size = 428,300 Default (array)
8 #@report_show_charts = true Default (boolean)
9 #@report_show_data_points = true Default (boolean)
10 #@report_show_source = true Default (boolean)
11 #@report_show_header = false Default (boolean)
12 #@report_show_settings = true Default (boolean)

Messages

 SeverityDescription
1Info-Infor- 2 Known vectors variables (TC, P)
2Info-Infor- 0 Explicit expressions
3Info-Infor- Regression command: polyfit TC P 4

Source

# Example 13 - Fitting Polynomials to Pressure Data
# Verified Solution: a0 = 24.6788, a1 = 1.6062, a2 = 0.036044, a3 = 0.000413, a4 = 3.96e-6
# Ref.: Comput. Appl. Eng. Educ. 6: 173, 1998

[
TC P
-36.7 1
-19.6 5
-11.5 10
-2.6 20
7.6 40
15.4 60
26.1 100
42.2 200
60.6 400
80.1 760
]
polyfit TC P 4