It is shown in ../FitData.doc htm and ../ExtremePow.doc htm that the value of a set of M constants c = {c1,c2,..cM}can be determined by minimizing c2 with respect to these constants.
In this case the function F is this process of arriving at this set of constants.
The standard deviation in F with data points fi with known standard deviations δi is shown in the first section of ../../definitions/Random/Errinfun.doc htm to be
The value of cI found by the minimization the c2 in (1) is an example of the function F of {fi}.
In the process of minimization the matrix A and vector B are defined by
The changes in the constants c on the last minimization step are given by.
(6)
This can be used to find the derivative of cI with respect to a single point in the data set.
(7)
The coefficient of the partial of the second derivative array is exactly zero at the minimum of c2. The partial of the second term with respect to fi is given by taking the partial of (5) with respect to fi.
So that
(10)
Expand the sums
(11)
Evaluate the sum on i first
The term inside the { } in (12) is very similar to the original AK J defined in (4)
The usual assumption is ɛi = di. Then the term in { } in (12) is AK,J. Since A-1J,L is the inverse of AK,L, the sum on L yields
(13)
And the sum on K yields
Thus 2NpowAI,J-1 is the “error matrix”. This differs from the ususal notation by the factors 2 and Npow. The factor of 2 is due the fact that in the definitions of A and B in equations (4) and (5) the twos were not cancelled out. This form above makes A and B the actual second and first derivatives of c2 but introduces a 2 into the final equation for the standard deviation. The Npow is the result of minimizing a power other than 2 in (1). Nowhere in the derivation of (14) is it assumed that (1) is reduced to any particular value.
The result in (14) means that if we have a very accurate set of values, small di’s resulting from 128 hours of data, and we repeat the minimizations using shorter runs with larger values of di’s, for example a whole series IS = 1 to Ms of dI’s resulting from 8 hours of data. That the standard deviation defined by (14) is also that given by
If the c2 defined in (1) with Npw = 1 is significantly greater than N, then either the function fA(xi) is not capable of representing the data or maybe dI is too small. A common “fix” is to assume that
If (14)is multiplied by (16), equations (14) and (15) will not give the same results. The error has been increased to compensate for an inadequate fit. .
If F(x,{c{f}} is simply cK, then the partials in (14) become dJK and dKI leaving
(17)
(18)
(19)
So that (14) becomes
A shortcut to the error equation is to first write
(21)
Expand so that all terms are of the form dIdJ, then substitute AI,J-1 for the dIdJ products. Thus for F = c1c7
(22)
(23)
(24)
After a bit of algebra equivalent to that in (20)
(25)
Note that for J=K, that the error becomes zero as it should.
(26)
(27)
Using (14)
(28)
The function F(x,c) differs from that defined in (2) in that it is a function also of x. When this is carried through all of the derivations, equation (14) is reached, but the partials become functions of x.
(29)