pwFit


 [fittedPars, chisq] = pwFit

 Fits the currently combined couples.

 

Description

 If no custom optimization function is supplied, the Likelihood is maximized
 which is equivalent for Gaussian errors to minimize the Chi-Square value
 defined as

  Chi-Square = sum_i ((yModel(i) - yData(i))/yStd(i))^2

 for all available datapoints i.

 Depending on the used optimization approach, parameters are fitted within
 the range [minValue, maxValue] as specified in pwAddK, pwAddS, and pwAddX.
 See pwSetOptimizer.

See also

pwFastIntegration
pwSetParsForFitToDefaultValues
pwReset
pwF2
pwF3
pwF4
pwF5
pwSetIntegrator
pwShowFitting
pwSetLogFitting
pwSetOptimizationUserFunction
pwSetOptimizer
pwSetOptimizationWeights