W2 {GOFSN} | R Documentation |
This statistic measures the difference between the empirical distribution, Fn, and a theoretical one, F, which must be some element of the SN class. It is only valid for continuos variables.
W2(data)
data |
a numeric vector with observed data |
Central parametrization is used, and the unknown parameters are estimated by: MLE of skewness, sample mean for mu, and sample standard desviation for sigma.
x |
a numeric value with the disparity between Fn and F |
Veronica Paton Romero, Universidad Rey Juan Carlos, Spain v.paton@alumnos.urjc.es
Cabras and Castellanos (2008) Default Bayesian goodness-of-fit tests for the skew-normal model.
data(ais, package="sn") attach(ais) data=bmi W2.data=W2(data)