rmst | R Documentation |
Probability density function and pseudo-random number generation for the multiple scaled Student-t distribution.
dmst(x, mu = NULL, L = NULL, G = NULL, Sigma = NULL, theta = NULL, formula = "direct")
rmst(n,d=2,mu=rep(0,d),L=NULL,G=NULL,Sigma=diag(d),theta=rep(100,d),n.dens="dmnorm")
x |
A matrix or data frame such that rows correspond to observations and columns correspond to variables. |
n |
The number of observations to be generated. |
d |
A number specifing the dimension. |
mu |
Either a vector of length |
L |
Lambda diagonal |
G |
Gamma orthogonal |
Sigma |
A symmetric positive-definite |
theta |
Vector of dimesion |
n.dens |
|
formula |
|
dmscn |
returns a vector of density values. |
rmscn |
returns a matrix of |
Cristina Tortora and Antonio Punzo
Punzo, A., & Tortora, C. (2021). Multiple scaled contaminated normal distribution and its application in clustering. Statistical Modelling, 21(4): 332–358.
Forbes, F. & Wraith, D. (2014). A new family of multivariate heavy-tailed distributions with variable marginal amounts of tailweight: application to robust clustering. Statistics and Computing, 24(6), 971–984.
x <- matrix(c(0,0),1,2)
theta <- c(5,20)
density <- dmst(x = x, theta = theta)
density
n <- 100
random <- rmst(n = n, theta = theta)
plot(random)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.