ais: Australian institute of sport data

Description Format References Examples

Description

Data on 102 male and 100 female athletes collected at the Australian Institute of Sport.

Format

This data frame contains the following columns:

sex

(0 = male or 1 = female)

Ht

height (cm)

Wt

weight (kg)

LBM

lean body mass

RCC

red cell count

WCC

white cell count

Hc

Hematocrit

Hg

Hemoglobin

Fe

input description

BMI

body mass index, weight/(height)**2

SSF

sum of skin folds

Bfat

Percent body fat

sport

Sport

References

S. Weisberg (2005). Applied Linear Regression, 3rd edition. New York: Wiley, Section 6.4

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
##Load the data
 library(ssmn)
 data(ais)
 attach(ais)

#Set the response y and covariate x
 x1    <- cbind(1,SSF,Ht)
 y     <- Bfat


##Fits a Skew Scale Mixtures of Normal Distributions to the data
fit.ssmn <- ssmn(y, x1, family="sn", method="EM", error =  1e-6, maxit=1000, show.envelope=FALSE)

#Show envelope
theta    <- c(fit.ssmn$beta,fit.ssmn$sigma2,fit.ssmn$lambda)
envel(y,x1,theta,family="sn",alpha=0.05)

ssmn documentation built on May 2, 2019, 5:55 a.m.