mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-06-19 15:57:05 +01:00
method to get fit p-value from fit interface
This commit is contained in:
@ -39,8 +39,9 @@ int main(void)
|
||||
data.fitAllPoints();
|
||||
p = data.fit(minimizer, init, f);
|
||||
|
||||
cout << "a= " << p(0) << " b= " << p(1)
|
||||
<< " chi^2/ndof= " << p.getChi2PerDof() << endl;
|
||||
cout << "a= " << p(0) << " b= " << p(1);
|
||||
cout << " chi^2/ndof= " << p.getChi2PerDof();
|
||||
cout << " p-value= " << p.getPValue() <<endl;
|
||||
|
||||
// plot result
|
||||
Plot plot;
|
||||
|
Reference in New Issue
Block a user