Line 43:
Line 43:
The fitting is done by adding one ingredient at the time and seeing how the variance goes down. The fitting algorithm only forces a fit through (0,0).
The fitting is done by adding one ingredient at the time and seeing how the variance goes down. The fitting algorithm only forces a fit through (0,0).
{| class="wikitable"
{| class="wikitable"
−
|+ Caption text
+
|+ Fitting with lm results
|-
|-
! #ingredients !! Max residual !! variance !! fractions
! #ingredients !! Max residual !! variance !! fractions
Line 62:
Line 62:
|}
|}
With 7 ingredients the solution will be exact. Should we leave out ingredients that are too similar? How to find these? The fractions also become negative, resulting in nonsense solutions.
With 7 ingredients the solution will be exact. Should we leave out ingredients that are too similar? How to find these? The fractions also become negative, resulting in nonsense solutions.
+
== Fitting (nnfit) ==
== Fitting (nnfit) ==
The fitting is done by adding one ingredient at the time and seeing how the variance goes down. The fitting algorithm forces positive fractions only.
The fitting is done by adding one ingredient at the time and seeing how the variance goes down. The fitting algorithm forces positive fractions only.