| SSTd-class | R Documentation |
The standardized skew Student-t distribution.
Objects can be created by calls of the form new("SSTd", mean, sd,xi).
More frequently they are created via the generating function
SSTd.
imgObject of class "Reals".
paramObject of class "SSTdParameter".
rrgpd
ddgpd
ppgpd, but vectorized and with special treatment of
arguments lower.tail and log.p
qqgpd, but vectorized and with special treatment of
arguments lower.tail and log.p
gaps(numeric) matrix or NULL
.withArithlogical: used internally to issue warnings as to interpretation of arithmetics
.withSimlogical: used internally to issue warnings as to accuracy
.logExactlogical: used internally to flag the case where there are explicit formulae for the log version of density, cdf, and quantile function
.lowerExactlogical: used internally to flag the case where there are explicit formulae for the lower tail version of cdf and quantile function
Class "AbscontDistribution", directly.
Class "UnivariateDistribution", by class "AbscontDistribution".
Class "Distribution", by class "AbscontDistribution".
signature(object = "SSTd"): wrapped access method for
slot xi of slot param.
signature(object = "SSTd"): wrapped access method for
slot mean of slot param.
signature(object = "SSTd"): wrapped access method for
slot nu of slot param.
signature(x = "SSTd"): wrapped access method for
slot sd of slot param.
signature(object = "SSTd"): wrapped replace method for
slot xi of slot param.
signature(object = "SSTd"): wrapped replace method for
slot mean of slot param.
signature(object = "SSTd"): wrapped replace method for
slot nu of slot param.
signature(x = "SSTd"): wrapped replace method for
slot sd of slot param.
This class is based on the code provided by the package fGarch by Diethelm Wuertz
Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de
dsstd, AbscontDistribution-class
(ST <- SSTd(xi=2, nu = 3)) # ST is a skewed t distribution with xi = 2 and nu = 3.
set.seed(1)
r(ST)(1) # one random number generated from this distribution, e.g. -0.4432824
d(ST)(1) # Density of this distribution is 0.1204624 for x = 1.
p(ST)(1) # Probability that x < 1 is 0.9035449.
q(ST)(.1) # Probability that x < -0.4432824 is 0.1.
## in RStudio or Jupyter IRKernel, use q.l(.)(.) instead of q(.)(.)
nu(ST) # df of this distribution is 3.
nu(ST) <- 4 # df of this distribution is now 4.
plot(ST)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.