The loss of packets in a communication system can be minimized in an
optimal manner by adapting a set of error correction (EC) parameters in
response to a calculated probability of packet loss. The calculated
probability is obtained from derived algorithms that are applied to a set
of communication parameters. Algorithms are derived from
Bernoulli-distributed traffic models and constant bit rate (CBR) traffic
models of the communication system. A collapsed-state model is used to
derive a very efficient algorithm that calculates an approximate
probability of packet loss. Alternate applications for the algorithms are
also disclosed.