Line 2:
Line 2:
The starting point is the four parameter Beta distribution found on [https://en.wikipedia.org/wiki/Beta_distribution#Four_parameters wikipedia]:
The starting point is the four parameter Beta distribution found on [https://en.wikipedia.org/wiki/Beta_distribution#Four_parameters wikipedia]:
+
[[File:BetaDistributionFourParameters.png|300 px|thumb|right|Form. 1.]]
+
This formula has two extra parameters ''a'' and ''c'', which can be used to normalise the distribution to [0,1] with ''y = (c-a)x + a''. As nutritional values always start at 0, we assume that ''a = 0''. With this we can rewrite formula 1: