rmst {fitmixst4} | R Documentation |
Generates random observation for the skew t distribution
rmst(n, p, mean = rep(0, p), cov = diag(p), nu = 10, del = rep(0, p))
n |
number of random observations. |
p |
dimension of the skew t distribution. |
mean |
a mean vector with length p. |
cov |
a covariance matrix of dimension pxp. |
nu |
the degree of freedoms. |
del |
a skew parameter of the length p. |
gernerates random observations for the skew t distribution.
mu=1; Sigma=1; delta=3; nu=3; y <- rmst(n=100,p=1,mean=mu,cov=Sigma,nu=nu,del=delta)