Polynomial Regression Preview

BOD=a0+a1·Time+a2·Time2
Data-Table
 TimeBOD
110.6
220.7
341.5
461.9
582.1
6102.6
7122.9
8143.7
9163.5
10183.7
11203.8

Program validated. Ready to Solve.
# Example 12 (b) - 2nd degree polynomial fit to BOD data
# BOD = a0 + a1*Time + a2*Time^2
# Verified Solution: a0 = 0.224387, a1 = 0.310403, a2 = -0.006439

[
Time BOD
1 0.6
2 0.7
4 1.5
6 1.9
8 2.1
10 2.6
12 2.9
14 3.7
16 3.5
18 3.7
20 3.8
]
polyfit Time BOD 2

Regression Model

y = a0 + a1 x + a2 x2

where y represents BOD and x represents Time

VariableValue95% confidence
a00.224386710.353054
a10.310403240.0816915
a2-0.00643933370.00385057

R²adjRmsdVariance
0.9815570.9769460.04633770.0324762

2nd order Polynomial Regression
Chart
2nd order Polynomial Regression BOD Residuals
Chart

Data Table

 Time (x)BOD (y)Calculated YResidual %
110.60.5283506111.94%
220.70.81943585-17.06%
341.51.36297039.135%
461.91.85499012.369%
582.12.2954953-9.309%
6102.62.6844857-3.249%
7122.93.0219615-4.206%
8143.73.307922610.60%
9163.53.5423691-1.211%
10183.73.7253009-0.6838%
11203.83.8567180-1.493%

Settings and Hints

 Name/SourceValueType
1 Polynomial Degree 2 Setting
2 Through Origin false Setting
3 Data Points 11 Setting
4 y=pol(x) BOD=pol(Time) 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 (Time, BOD)
2Info-Infor- 0 Explicit expressions
3Info-Infor- Regression command: polyfit Time BOD 2

Source

# Example 12 (b) - 2nd degree polynomial fit to BOD data
# BOD = a0 + a1*Time + a2*Time^2
# Verified Solution: a0 = 0.224387, a1 = 0.310403, a2 = -0.006439

[
Time BOD
1 0.6
2 0.7
4 1.5
6 1.9
8 2.1
10 2.6
12 2.9
14 3.7
16 3.5
18 3.7
20 3.8
]
polyfit Time BOD 2