| template<typename Domain, typename Value, typename Validator, typename Integer> | |
| likelihood< Domain, Value, Validator > | boost::probabilities::pow (const likelihood< Domain, Value, Validator > &base, Integer n) |
| Power function of likelihoods. | |
| template<typename Domain, typename Value, typename Validator, typename Integer> | |
| probability< Domain, Value, Validator > | boost::probabilities::pow (const probability< Domain, Value, Validator > &base, Integer n) |
| Power function of probabilities. | |
There are, however, some mathematical functions that occur regularly in statistical modeling and whose return value does retain the properties of probabilities and likelihoods. Because of that, they are provided by the library.
|
||||||||||||||||
|
Power function of probabilities. Note that probabilities raised to powers that are not natural numbers make little sense in the context of this library, as the result is no longer a probability. Consequently, this power function is only valid for integral exponents. |
|
||||||||||||||||
|
Power function of likelihoods. Note that likelihoods raised to powers that are not natural numbers make little sense in the context of this library, as the result is no longer a likelihood. Consequently, this power function is only valid for integral exponents. |
1.4.5