Hyperdirichlet distribution corresponding to a dataset of Fitzmaurice et al
A vector corresponding to either male or female data
Boolean, with default
Fitzmaurice considered childhood obesity. See the reference for further details.
Returns a hyperdirichlet distribution (without normalizing factor) corresponding to the observations, either male or female, made by Fitzmaurice et al.
Pat Altham originally spotted that this dataset could be represented using the hyperdirichlet distribution.
The functional form for replacement “
[<-()” is used
because it is possible to set the
validated argument to
TRUE: this suppresses the computationally intensive checking
that the distribution is proper.
TRUE is not
recommended in general. It is OK here because the function knows that
no elements of
dat is negative.
Robin K. S. Hankin
G. M. Fitzmaurice, N. M. Laird, and S. R. Lipsitz 1994. “Analysing incomplete longitudinal binary responses: a likelihood-based approach”. Biometrics, volume 50, pp601-612.
1 2 3 4 5
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.