dmst(x, xi=rep(0,length(alpha)), Omega, alpha, nu=Inf, dp=NULL, log=FALSE)
pmst(x, xi=rep(0,length(alpha)), Omega, alpha, nu=Inf, dp=NULL, ...)
rmst(n=1, xi=rep(0,length(alpha)), Omega, alpha, nu=Inf, dp=NULL)
dmsc(x, xi=rep(0,length(alpha)), Omega, alpha, dp=NULL, log=FALSE)
pmsc(x, xi=rep(0,length(alpha)), Omega, alpha, dp=NULL, ...)
rmsc(n=1, xi=rep(0,length(alpha)), Omega, alpha, dp=NULL)dmst and dmsc, this is either a vector of length
d, where d=length(alpha), or a matrix with d columns,
representing the coordinates of the point(s) where the density must be
avaluad, or a matrix with d
columns, representing the location parameter of the distribution; see
xi is a matrix, its dimensions must agree
with those of (d,d);
see Section d which regulates the slant
of the density; see Section Inf values in alpha are not allowed.nu=Inf which corresponds to the multivariate
skew-normal distribution.xi, Omega,
alpha and nu, containing quantities as described above. If
dp is specified, this prevents specification of the individual
parameters.1.FALSE); if TRUE,
log-densities are returned.pmt.dmst and dmsc) or a single
probability (pmst and pmsc) or a matrix of random points
(rmst and rmsc).alpha
parameter which regulates asymmetry; when alpha=0, the skew-$t$
distribution reduces to the commonly used form of multivariate Student's
$t$. Further, location is regulated by xi and scale by
Omega, when its diagonal terms are not all 1's.
When nu=Inf the distribution reduces to the multivariate skew-normal
one; see dmsn. Notice that the location vector xi
does not represent the mean vector of the distribution (which in fact
may not even exist if nu <= 1<="" code="">), and similarly Omega is not
the covariance matrix of the distribution, although it is a
covariance matrix.
For additional information, see Section 6.2 of the reference below.The family of multivariate SC distributions is the subset of the
ST family, obtained when nu=1. While in the univariate case
there are specialized functions for the SC distribution,
dmsc, pmsc and rmsc simply make a call to dmst,
pmst, rmst with argument nu set equal to 1.
=>Function pmst requires dmt from package
....
dst, dsc, dmsn,
dmt, makeSECdistrx <- seq(-4,4,length=15)
xi <- c(0.5, -1)
Omega <- diag(2)
Omega[2,1] <- Omega[1,2] <- 0.5
alpha <- c(2,2)
pdf <- dmst(cbind(x,2*x-1), xi, Omega, alpha, 5)
rnd <- rmst(10, xi, Omega, alpha, 6)
p1 <- pmst(c(2,1), xi, Omega, alpha, nu=5)
p2 <- pmst(c(2,1), xi, Omega, alpha, nu=5, abseps=1e-12, maxpts=10000)Run the code above in your browser using DataLab