ewoksndreg.math.fit1d.lstsq_std#
- ewoksndreg.math.fit1d.lstsq_std(A, b=None, x=None, vare=None, cove=None)[source]#
Estimated error of solution to linear system
\[ \begin{align}\begin{aligned}A.x = b + e\\E(e) = 0\end{aligned}\end{align} \]- Args:
A(array): (m x n) b(array): only needed when neither vare nor cove are given (m) x(array): only needed when neither vare nor cove are given (n) vare(array): variance on e (m) cove(array): covariance matrix of e (m x m)
- Returns:
stdx(array): errors (n)