Anonymous user
Talk:Multiple regression: Difference between revisions
add history of early error that led to most examples being translated from an incorrect early example
imported>Stevegt m (simplify clarification) |
imported>Stevegt (add history of early error that led to most examples being translated from an incorrect early example) |
||
Line 1:
= Examples are not multiple regression =
Many if not most of the examples on this page were apparently translated blindly from a single incorrect example
Multiple regression, as mentioned in the description, is where the X input is a N-dimensional array; a matrix of two or more
== History of error ==
* The very first example, [https://rosettacode.org/wiki/Multiple_regression?oldid=121951 Ruby], was incorrect -- it only used a single-axis X input, when the task description clearly said "x is given to you as a two-dimensional array".
* The next example added, [https://rosettacode.org/wiki/Multiple_regression?oldid=121955 Tcl], introduced the single-axis height/weight example. Things sort of went all to heck from there, with other languages cargo-culting the incorrect example from Tcl.
== Examples of multiple regression ==
Think of multiple regression as "surface fitting" rather than curve fitting. Some examples:
Line 10 ⟶ 17:
== Summary for clarification: ==
* '''Examples on this page must support a two-dimensional matrix as the X input''', as mentioned in the
*
== References: ==
|