[Numpy-discussion] scaling of the covariance matrix in np.polyfit

2018-09-27 Thread Andreas Nußbaumer
Hi, a while ago I tried to figure out what holds back the PR 11197. Could anyone have a look? Thanks for your help. Andreas ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] scaling of the covariance matrix in np.polyfit

2018-09-06 Thread Andreas Nußbaumer
Hi, as previously discussed on the mailing list http://numpy-discussion.10968.n7.nabble.com/Inconsistent-results-for-the-covariance-matrix-between-scipy-optimize-curve-fit-and-numpy-polyfit-td45582.html and listed in the issude https://github.com/numpy/numpy/issues/11196 there is no-standard

[Numpy-discussion] Change in default behavior of np.polyfit

2018-06-01 Thread Andreas Nußbaumer
Hi, in [1] the scaling factor for the covariance matrix of `np.polyfit` was discussed. The conclusion was, that it is non-standard and a patch might be in order to correct this. Pull request [2] changes the factor from chisq(popt)/(M-N-2) to chisq(popt)/(M-N) (with M=number of point, N=number of