Menu

#106 Display degrees of freedom and chi^2/dof

open
nobody
None
5
2019-10-22
2019-10-22
No

Short version: I'd like for SciDAVis to (always or optionally) print the number of degrees of freedom and the chi^2/dof in the Results Log, and ideally to give the option of showing chi^2/dof when displaying fit results on a graph as well.

Full explanation: When assessing goodness of fit, it is helpful to consider the chi^2 per degree of freedom for the model. At the moment, I can more or less figure that out: fitting output shows chi^2, and I can count the data points and subtract the number of parameters to get the number of degrees of freedom. (Sometimes with a large dataset counting the number of data points is awkward, especially if there might be blank rows in the middle.) But internally, SciDAVis already knows the d.o.f. (it's used in multiple places in the fitting code): it would be pretty easy to print it out, and much less error prone than doing it by hand. For that matter, SciDAVis could directly compute that handy chi^2/dof value itself and print it for me (at least in the Results Log, and maybe as an option instead of chi^2 when showing parameters on the graph as well).

[For reference, at least back when I last used it years ago, Origin's printed "chi^2" value WAS chi^2/dof, which was horribly confusing. I wouldn't want to replicate that! But being able to get this result straight from SciDAVis would be awfully convenient: I've never actually needed to know chi^2 itself.]

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.