Last chance! 50% off unlimited learning
Sale ends in
sn.Einfo(dp=NULL, cp=NULL, n=1, x=NULL)
x
must
not be.n
must not be.x
is not set, then a simple random sample is assumed and a
matrix x
with a single column of all 1's is constructed; in this
case, the supplied vector dp
or cp
must have length 3.
If x
is set, then the supplied vector of parameters must have
length ncol(x)+2
.Azzalini, A. and Capitanio, A. (1999). Statistical applications of the multivariate skew-normal distribution. J.Roy.Statist.Soc. B 61, 579--602.
dsn
, cp.to.dp
, dp.to.cp
info <- sn.Einfo(dp=c(0,1,5), n=3)
#
data(ais, package="sn")
M <- model.matrix(~ais$"Ht")
mle <- sn.mle(X=M, y=ais$"Wt", plot.it=FALSE)
info <- sn.Einfo(cp=mle$cp, x=M)
Run the code above in your browser using DataLab