最小平方法求回归系数
                差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
| 最小平方法求回归系数 [2023/04/08 03:44] – zhangruihao | 最小平方法求回归系数 [2024/04/12 04:44] (当前版本) – 2104龚文滕 | ||
|---|---|---|---|
| 行 8: | 行 8: | ||
| {{: | {{: | ||
| *SP为离差的乘积和,SSx为X的误差平方和,Sy和Sx分别是Y和X的标准差 | *SP为离差的乘积和,SSx为X的误差平方和,Sy和Sx分别是Y和X的标准差 | ||
| - | *矩阵形式b = (X’X)^-1 X’y | + | *矩阵形式:b = (X’X)^-1 X’y | 
| + | ---- | ||
| + | ***Best fit line**:The goal is to minimize the error, which means that this line is closest to all data points. | ||
| + | *The regression line is used to predict the value of Y using the formula (linear equation) given X, a, and b. | ||
| + |   ***Least squares method**:First, | ||
| + |    | ||
| + | ***Ordinary least squares, OLS** | ||
| + | {{: | ||
| + | *SP is the product sum of deviations, SSx is the sum of squared errors of X, Sy and Sx are the standard deviations of Y and X, respectively | ||
| + | *Matrix form:b = (X’X)^-1 X’y | ||
最小平方法求回归系数.1680925472.txt.gz · 最后更改: 2023/04/08 03:44 由 zhangruihao