Usage Arguments Details Value References Examples
1 2 3 4 5 6 7 8 9 10 |
x |
vector of quantiles. Missing values (NAs) are allowed. |
xi |
vector of location parameters. |
omega |
vector of scale parameters; must be positive. |
alpha |
vector of slant parameters. Withpstandqst, it must be of length 1. |
nu |
a single positive value representing the degrees of freedom; it can be non-integer. Default value isnu=Infwhich corresponds to the skew-normal distribution. |
dp |
a vector of length 4, whose elements represent location, scale (positive), slant and degrees of freedom, respectively. Ifdpis specified, the individual parameters cannot be set. |
log |
logical; if TRUE, densities are given as log-densities |
n |
a positive integer representing the sample size. |
method |
an integer value between 0 and 4 which selects the computing method; see <e2><80><98>Details<e2><80><99> below for the meaning of these values. If method=0 (default value), an automatic choice is made among the four actual computing methods, which depends on the other arguments. |
... |
aditional parameters passed tointegrateor pst |
p |
vector of probabililities |
tol |
a scalar value which regulates the accuracy of the result of qsn, measured on the probability scale. |
For evaluation of pst, and so indirectly of qst, four different methods are employed. Method 1 consists in using pmst with dimensiond=1. Method 2 applies integrate to the density function dst. Method 3 again uses integrate too but with a different integrand, as given in Section 4.2 of Azzalini & Capitanio (2003), full version of the paper. Method 4 consists in the recursive procedure of Jamalizadeh, Khosravi and Balakrishnan (2009), which is recalled in Complement 4.3 on Azza-lini & Capitanio (2014); the recursion over nu starts from the explicit expression fornu=1 given by psc. Of these, Method 1 and 4 are only suitable for integer values of nu. Method 4 becomes pro-gressively less efficient as nu increases, because its value corresponds to the number of nested calls, but the decay of efficiency is slower for larger values oflength(x). If the default argument value method=0 is retained, an automatic choice among the above four methods is made, which dependson the values of nu, alpha, length(x). The numerical accuracy of methods 1, 2 and 3 can be regulated via the ... argument, while method 4 is conceptually exact, up to machine precision.
If qst is called withnu>1e4, computation is transferred to qsn.
Density (dst), probability (pst), quantiles (qst) and random sample (rst) from the skew-t distribution with given xi, omega, alpha and nu parameters.
Azzalini, A. and Capitanio, A. (2003). Distributions generated by perturbation of symmetry with emphasis on a multivariate skew-tdistribution.J.Roy. Statist. Soc. B65, 367<e2><80><93>389. Full version of the paper athttp://arXiv.org/abs/0911.2342.
Azzalini, A. with the collaboration of Capitanio, A. (2014).The Skew-normal and Related Families. Cambridge University Press, IMS Monographs series.
Jamalizadeh, A., Khosravi, M., and Balakrishnan, N. (2009). Recurrence relations for distributions of a skew-$t$ and a linear combination of order statistics from a bivariate-$t$.Comp. Statist. Data An.53, 847<e2><80><93>852
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.