2.2.1.2.5 NLFitSession::GetFitResultsStats

Description

To get the statistics reuslt after fitting done.

Syntax

bool GetFitResultsStats(RegStats* pRegStats, NLSFFitInfo* pFitInfo, bool bPreDataset = false, int nSetIndex = 0, int nDepIndex = 0)

Parameters

pRegStats
[output] pointer to the structure RegStats which will receive the results.
Click RegStats to see more details of this structure.
pFitInfo
[output] pointer to the structure NLSFFitInfo which will receive the results.
Click NLSFFitInfo to see more details of this structure.
bPreDataset
[input] if false will calculate staticsics result on all data, else will give result for one dataset.
nSetIndex
[input] the index of the dataset. Only effect with bPreDataset is true.
nDepIndex
[input] the index of the dependent variable

Return

return ture if successfully, else return false.

Examples

EX1

Please refer to the example in NLFitSession::GetChiSqr

Remark

See Also

GetChiSqr, Fit, GetFitResultsParams

Header to Include

Originlab\NLFitSession.h