Line 9:
Line 9:
* '''N''' the number of ingredients in the recipe;
* '''N''' the number of ingredients in the recipe;
−
This approach assumes that the ingredients are independent. And thus we have an estimated error for each estimated nutrient. And that the variability is normally distributed.
+
This approach assumes that the ingredients are independent. And thus we have an estimated error for each estimated nutrient. And that the variability is normally distributed. We assume here that the contribution of the ingredient has no error.
What would be the errors on the estimated β<sub>i</sub>. Or are we then arguing in circles?
What would be the errors on the estimated β<sub>i</sub>. Or are we then arguing in circles?
Line 15:
Line 15:
== References ==
== References ==
* [https://en.wikipedia.org/wiki/Propagation_of_uncertainty Propagation of uncertainty]
* [https://en.wikipedia.org/wiki/Propagation_of_uncertainty Propagation of uncertainty]
+
* [https://stackoverflow.com/questions/36112290/weighted-non-negative-least-square-linear-regression-in-python Weighted NNLS] is this useful to add the error to the data?