bminz {VGAM} | R Documentation |
The body mass indexes and ages from an approximate random sample of 700 New Zealand adults.
data(bminz)
A data frame with 700 observations on the following 2 variables.
They are a random sample from the Fletcher Challenge/Auckland Heart and Health survey conducted in the early 1990s.
There are some outliers in the data set.
A variable gender
would be useful, and may be added later.
Clinical Trials Research Unit, University of Auckland, New Zealand.
MacMahon, S., Norton, R., Jackson, R., Mackie, M. J., Cheng, A., Vander Hoorn, S., Milne, A., McCulloch, A. (1995) Fletcher Challenge-University of Auckland Heart & Health Study: design and baseline findings. New Zealand Medical Journal, 108, 499–502.
## Not run: data(bminz) attach(bminz); plot(age, BMI, col="blue"); detach(bminz) fit = vgam(BMI ~ s(age, df=c(2,4,2)), fam=lms.yjn, data=bminz, tr=TRUE) qtplot(fit, pcol="blue", tcol="brown", lcol="brown") ## End(Not run)