
Global fitting in Origin involves fitting multiple datasets with the same fitting function. Parameters in the fitting function can optionally be shared amongst all datasets. If a parameter is shared, the fitting procedure will yield the same value for that parameter for all datasets. If a parameter is not shared, the fitting procedure will yield a unique value for that parameter for each dataset.
To do global fitting with parameter sharing:
The fitting report for global fit will output the Parameters, Statistics and ANOVA tables for each dataset and a global Statistics and ANOVA table for all of the datasets. When global fitting is performed, the Chi-square for n datasets is computed as:
and
The global ANOVA table is:
| df | Sum of Squares | Mean Square | F Value | Prob > F | |
|---|---|---|---|---|---|
| Model |
p-1 |
SSreg = SYY - RSS |
MSreg = SSreg / p - 1 |
MSreg / MSE |
p-value |
| Error |
&endash; p |
RSS |
MSE = RSS /(n-p) | ||
| Total |
n-1 |
SYY |
In the above formula, n is the total number of data points, and p is the total number of parameters. Note that when parameters are shared, it will reduce the number of parameters, p. For example, to do a global fit for two datasets with simple linear function, y = a + bx, with the parameter a shared, the number of parameters becomes three because we have reduced one parameter. Therefore, p = 3.