Ignore:
Timestamp:
Mar 4, 2018 10:14:20 PM (6 years ago)
Author:
butler
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
Message:

More Edits

Clean up new documentation as well as fix older incorrect documention on
simultaneous/constrained fitting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/media/residuals_help.rst

    ra7c6f38 r84ac3f1  
    3434  =  \sum[(Y_i - \mathrm{theory}_i)^2 / \mathrm{error}_i^2] 
    3535 
    36 Fitting typically minimizes the value of $\chi^2$.  However, for assessing the 
    37 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 then given as 
     36Fitting typically minimizes the value of $\chi^2$.  For assessing the quality of 
     37the 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 
     39degrees of freedom (or DOF). The DOF is the number of data points being 
     40considered, $N_\mathrm{pts}$, reduced by the number of free (i.e. fitted) 
     41parameters, $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 
     43given as 
    4444 
    4545.. math:: 
     
    4949  / [N_\mathrm{pts} - N_\mathrm{par}] 
    5050 
    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. 
     51Note that this means the displayed value will vary depending on the number of 
     52parameters used in the fit. In particular, when doing a calculation without a 
     53fit (e.g. manually changing a parameter) the DOF will now equal $N_\mathrm{pts}$ 
     54and the $\chi^2_R$ will be the smallest possible for that combination of model, 
     55data set, and set of parameter values. 
    5756 
    5857When $N_\mathrm{pts} \gg N_\mathrm{par}$ as it should for proper fitting, the 
     
    9998| 2015-06-08 Steve King 
    10099| 2017-09-28 Paul Kienzle 
     100| 2018-03-04 Paul Butler 
Note: See TracChangeset for help on using the changeset viewer.