LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for R^2 out of LinearFitEx

Hello,

 

Using LinearFitEx on sample data yields a residue value, among other things.  All customers have expressed interest in R^2 value, which is related to residue (see  http://en.wikipedia.org/wiki/Coefficient_of_determination).  Any chance LabWindows could output this value as well so I don't have to calculate it ?  R^2s approaching 1.0 indicate a good fit.

 

Thank you,

Meg Morgan

meg@photon-machines.com

0 Kudos
Message 1 of 3
(3,318 Views)

Hi,

 

you could use the function GoodnessOfFit, which does just that,

 

Wolfgang

0 Kudos
Message 2 of 3
(3,307 Views)
Well I'll be darned ... Thank you, Wolfgang.  How was I ever supposed to stumble upon that function ?  Many thanks, Meg.
0 Kudos
Message 3 of 3
(3,270 Views)