![]() |
|
The Waring distribution.
| double apop_rng_GHgB3 | ( | gsl_rng * | r, | |
| double * | a | |||
| ) |
RNG from a Generalized Hypergeometric type B3.
Devroye uses this as the base for many of his distribution-generators, including the Waring.
The Waring distribution Ignores the matrix structure of the input data, so send in a 1 x N, an N x 1, or an N x M.
apop_waring.estimate() is an MLE, so feed it appropriate apop_mle_settings.
![$W(x,k, b,a) = (b-1) \gamma(b+a) \gamma(k+a) / [\gamma(a+1) \gamma(k+a+b)]$](form_105.png)



To specify that you have frequency or ranking data, use
Apop_settings_add_group(your_model, apop_rank, NULL);