X, y |
|
Experimental data: in each row,
x and y (see below, "data entry")
First line is the header (or blank).
("American" or "European" mode.) • |
Calculates
the parameters in a multiple linear regression problem.
(The procedure is applicable to functions of the independent variables,
provided that the model remains linear.)
For powers of x (instead of x1,
x2, etc.), supply the powers as new variables
(x1 ≡ x,
x2 ≡ x², etc.).
The base data are from Walpole et al.
[2012, p 449], whence b = (39.1574, 1.0161, -1.8616, -0.3433).
(Example data US,
Euro)
Data entry for the values of X and y can be
in "American" or "European" style: values (blank or tab separator)
or 'csv' or copy-paste, e.g., such as from
(Am/Eu) Excel. Same example in Amer. csv, Euro. spaces, etc.. |
• Weisstein, Eric, "Least Squares Fitting."
From MathWorld—A Wolfram Web Resource.
• Walpole,
Ronald E., Raymond H., Myers, Sharon L.
Myers, Keying
Ye, 2012,
"Probability & statistics for engineers & scientists", 9.th ed.,
Pretice-Hall (Pearson). Boston, MA (USA). ISBN 0-321-62911-6. Example 12.4.
• 1730-03-31: Bézout, Étienne (*1783-09-27). |