FIt-with-Err-Weight
In some cases you may want certain data points to factor more heavily than others into the fitting calculations. So when selecting datasets for the fitting, you can also do weighting settings in the Data Selection page of the Settings tab to do weighted fitting.
After fitting, you will get the results with weighting as below:
When Iteration Algorithm is Levenberg Marquardt, it is only supported to add weight for Y data, while if it is Orthogonal Distance Regression (Pro Only), both X and Y weight are supported.
When there are multiple input datasets, you can specify different weighting methods for each Y and/or X data. The weights will be used in the procedure of reducing Chi-Square, you may refer to the Iteration Algorithm for the formula used in different cases.
Origin supports a number of weighting methods, some weight methods can be used for both L-M and ODR algorithm while some can only be used for L-M. See the table below for the formula to calculate weight in each case. Note that y here stands for function parameter name and it is not referring to the dependent variable.
No Weighting
Instrumental
,where are are the error bar sizes stored in error bar columns.
Statistical
Arbitrary Dataset
where are the values of arbitrary data sets.
Direct Weighting
Variance ~ y^2
Variance = a*y^b
Variance = c^b+a*y^b
where , are the values of arbitrary data sets.
Variance ~ yfit
Variance ~ yfit^2
Variance = a*yfit^b
Variance = c^b+a*yfit^b
Variance = a*yfit^b*c^(tlast−t)