Guides

Stochastic feed formulation.

Stochastic feed formulation is a calculation that takes the variability of raw materials into account. The formula meets each nutrient limit with a probability that you choose. This guide explains why it is needed and what it costs.

The problem with average values

The nutrient content of a raw material varies from one delivery to the next. A formulation table holds one number for each nutrient, the average. A formula that is built exactly to the minimum with average values is below the minimum in about half of the batches.

The usual answer: safety margins

Most nutritionists add a safety margin. They raise the minimum, or they lower the nutrient values of raw materials in the table. The margin is set by experience. The formula is then more expensive than it needs to be, and nobody knows how safe it really is.

How stochastic formulation works

Each nutrient value of a raw material is stored with its standard deviation. You choose the confidence level, for example 95%. The calculation finds the cheapest formula that meets the limit with that probability. It prefers raw materials with a more stable composition, because they need a smaller reserve.

A small example

A feed needs at least 20% protein. With average values the formula has exactly 20.0% protein, and half of the batches are below the limit. Suppose that the protein of the formula has a standard deviation of 0.36 percentage points. At 95% confidence the formula needs an average of 20.6% protein. Then only 1 batch in 20 is below 20%.

What safety costs

A higher confidence level gives a more expensive formula. The difference in cost per tonne between 50% and 95% is the price of safety. You see it as a number, and you decide how much safety to pay for.

Which side to protect

For some nutrients the minimum matters, for example protein and amino acids. For others the maximum matters, for example fiber. For each nutrient you choose if the minimum, the maximum or both are protected.

What you need to start

You need the standard deviation of the main nutrients for the raw materials that vary the most. Laboratory analyses of your own deliveries are the best source. You can start with a few raw materials, for example corn and soybean meal, and add others later.

Stochastic formulation in AFOS

AFOS stores each nutrient value with its standard deviation. You set the confidence level from 50% to 99.9%. The result shows the assured value next to the average. More about stochastic optimization in AFOS.

Try AFOS with your own formulas

Free account. 30-day Pro Trial. No credit card.