See also
Define
(1.2)
So that
(1.3)
Or
(1.4)
Then define
And
Then (1.1) has the form
The wave function and weight function are slowly varying functions of the constants while near the minimum the difference (A Y)/Y - <A> oscillates rapidly about zero. Thus for minimization purposes
Then with fj = <A>(c) = input constant (1.7) becomes
This is the form in ..\Fittery\FitData.doc .htm (1).
In Fitting with Poisson random variables.doc .htm it is shown that if the dependence of ej on fA is ignored in the sense that its derivatives are not used in finding the best fA that a “better” fit results. This is due to the fact that the minimum c2 that occurs by making e large is not desired.
If the set {ej} is not varied, A à H, and fi becomes E, minimizing (1.8) is a method for solving
In one dimension, a good way to solve (1.9) is discussed in ..\diffeqns\shoot.doc#OverFlow .htm. The c’s in this case become the values of the wave function at each of the points. The figure shows that at r @ 40 aB, the numerical solution for the Hydrogen wave function switches from + infinity to – infinity when the 16th digit Ein is changed by 1. This would not prevent (1.8) with fixed {ej} from giving a very small value of χ2. The wave function, however, will be difficult to calculate numerically, making it hard to find the value of fA in (1.6). An only slightly worse minimum will not have this problem making it frustratingly difficult to minimize (1.8).
Further derivation and suggested code are in Variance Minimization2.doc .htm.