※ 引述《brooky (未够班)》之铭言:
: ※ 引述《inuy (一歩一步前进中)》之铭言:
: : SVD
Thank you! I have solved it :p
: Can we just use 'lsfit' ?
: *****************************************
: Description of lsfit:
: The least squares estimate of *b* in the model
: y = X b + e
: is found.
: *****************************************
hmm, lsfit could be used to verify our answer.
btw, when I run the dataset "space_ga",
I got the following statement,
错误在solve.default(lhs) : 系统计算上是独特的: 互反条件数=6.78798e-020
But "lhs" is invertible (lhs is square and det(lhs)!=0)
what's wrong here?