Multi-Linear Regression Preview

y=a0+a1·x1+a2·x2
Data-Table
 yx1x2
12931.61851
223015.5820
3172221058
491451201
5125331357
6125401115

Program validated. Ready to Solve.
# Example 14 - Simple multiple linear regression
# y = a0 + a1*x1 + a2*x2
# Verified Solution: a0 =360.836, a1 = -3.75246 a2=-0.084265

[
y x1 x2
293 1.61 851
230 15.5 820
172 22 1058
91 45 1201
125 33 1357
125 40 1115
]

# mlinfit [...] [origin]
mlinfit x1 x2 y

Regression Model

y = a0 + a1 x1 + a2 x2

where y and xi map to:
y = a0 + a1 x1 + a2 x2

VariableValue95% confidence
a0360.83566118.076
a1-3.75246131.77400
a2-0.0842650330.140313

R²adjRmsdVariance
0.9835210.9725353.64229159.195

Multilinear Regression Fit
Chart
Multilinear Regression y Residuals
Chart

Data Table

 x1x2yCalculated yResidual %
11.61851293283.084653.384%
215.5820230233.57518-1.554%
3221058172189.12910-9.959%
44512019190.7725920.2499%
5331357125122.656781.875%
6401115125116.781690.000%

Settings and Hints

 Name/SourceValueType
1 Independent variables 2 Setting
2 Sample data 6 Setting
3 Version 7.0.73 Setting
4 #@report_fix_digits = 8 Default (integer)
5 #@chart_size = 428,300 Default (array)
6 #@report_show_source = true Default (boolean)
7 #@report_show_header = false Default (boolean)
8 #@report_show_settings = true Default (boolean)
9 #@report_show_charts = true Default (boolean)
10 #@report_show_data_points = true Default (boolean)

Messages

 SeverityDescription
1Info-Infor- 3 Known vectors variables (y, x1, x2)
2Info-Infor- 0 Explicit expressions
3Info-Infor- Regression command: mlinfit x1 x2 y

Source

# Example 14 - Simple multiple linear regression
# y = a0 + a1*x1 + a2*x2
# Verified Solution: a0 =360.836, a1 = -3.75246 a2=-0.084265

[
y x1 x2
293 1.61 851
230 15.5 820
172 22 1058
91 45 1201
125 33 1357
125 40 1115
]

# mlinfit [...] [origin]
mlinfit x1 x2 y