Changeset 84ac3f1 in sasview for src/sas/sasgui/perspectives/fitting/media/residuals_help.rst
- Timestamp:
- Mar 4, 2018 10:14:20 PM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
- Children:
- 47ace50
- Parents:
- a7c6f38
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/media/residuals_help.rst
ra7c6f38 r84ac3f1 34 34 = \sum[(Y_i - \mathrm{theory}_i)^2 / \mathrm{error}_i^2] 35 35 36 Fitting typically minimizes the value of $\chi^2$. However, for assessing the37 quality of the model and its "fit" this parameter is not terribly helpful on its 38 own. Thus *SasView* instead displays a normalized version of this parameter, 39 using the traditional reduced $\chi^2_R$. This is the $\chi^2$ divided by the 40 degrees of freedom (or DOF). The DOF is simply the number of data points being 41 considered reduced by the number of free (i.e. fitted) parameters. Note that 42 model parameters that are kept fixed do *not* contribute to the DOF (they are 43 not"free". This reduced value is thengiven as36 Fitting typically minimizes the value of $\chi^2$. For assessing the quality of 37 the model and its "fit" however, *SasView* displays the traditional reduced 38 $\chi^2_R$ which normalizes this parameter by dividing it by the number of 39 degrees of freedom (or DOF). The DOF is the number of data points being 40 considered, $N_\mathrm{pts}$, reduced by the number of free (i.e. fitted) 41 parameters, $N_\mathrm{par}$. Note that model parameters that are kept fixed do 42 *not* contribute to the DOF (they are not "free"). This reduced value is then 43 given as 44 44 45 45 .. math:: … … 49 49 / [N_\mathrm{pts} - N_\mathrm{par}] 50 50 51 where $N_\mathrm{par}$ is the number of *fitted* parameters. Note that this 52 means the displayed value will vary depending on the number of parameters used 53 in the fit. In particular, when doing a calculation without a fit (e.g. 54 manually changing a parameter) the DOF will now equal $N_\mathrm{pts}$ and the 55 $\chi^2_R$ will be the smallest possible for that combination of model, data 56 set and set of parameter values. 51 Note that this means the displayed value will vary depending on the number of 52 parameters used in the fit. In particular, when doing a calculation without a 53 fit (e.g. manually changing a parameter) the DOF will now equal $N_\mathrm{pts}$ 54 and the $\chi^2_R$ will be the smallest possible for that combination of model, 55 data set, and set of parameter values. 57 56 58 57 When $N_\mathrm{pts} \gg N_\mathrm{par}$ as it should for proper fitting, the … … 99 98 | 2015-06-08 Steve King 100 99 | 2017-09-28 Paul Kienzle 100 | 2018-03-04 Paul Butler
Note: See TracChangeset
for help on using the changeset viewer.