statistics - How to calculate goodness of fitting (GOF) from a dataset in java? -
what options calculate goodness of fitting (gof) dataset in java, looking @ apache math 3.0 library , not head around way calculate gof using it. suggestions other libraries or math 3.0?
for linear least squares it's r coefficient. r = 1.0 means perfect fit; r = -1.0 means equation orthogonal data, r = 0.0 means no fit (thanks peter lawrey correction). typical values somewhere in between.
for higher order functions should @ confidence level calculated each coefficient.
the best way figure out visually: @ data , fit.
if "could not head around" code "i never knew mathematics behind in first place", change in library won't help. taking time read , understand math will.
Comments
Post a Comment