<div dir="ltr"><div><div><div><div>Hello,<br><br></div>If you can make the hypothesis that your data is corrupted by gaussian noise, then you can approximate the covariance matrix of your estimated parameters. Let p be the vector of parameters and r(p) the residual vector given by<br>
<br></div>r(p)=sigma^(-1)*(y-Y(p))<br><br></div>where y is your measuement vector, Y(p) the "simulated" measurement, sigma a diagonal matrix with the std error for each measurement. If we denote by<br><br></div>
<div>drdp(p) the derivative (or jacobian matrix) of r with respect to p then the covariance matrice C of parameters can be estimated by<br><br><br></div><div>C=F^(-1)<br><br></div><div>where  <br><br>F=drdp(p)' * drdp(p) <br>
<br>is the Fisher information matrix. The diagonal terms of V give you the variance of the parameters. Of course, even in the gaussian case, this is a crude approximation....<br><br></div><div>S.<br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-02-19 17:10 GMT+01:00 Yohann <span dir="ltr"><<a href="mailto:yohann.morille@univ-angers.fr" target="_blank">yohann.morille@univ-angers.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
yes I know Denis, It was just an example to illustrate my question.<br>
My real dataset and function to fit are completely different and more<br>
complex.<br>
Thank you<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://mailinglists.scilab.org/evaluate-error-on-each-parameter-calculated-with-leastsq-tp4028696p4028748.html" target="_blank">http://mailinglists.scilab.org/evaluate-error-on-each-parameter-calculated-with-leastsq-tp4028696p4028748.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>