sst-functions | R Documentation |
Functions for Symmetric Student-t distribution
dsst(x, mu = 0, s = 1, alpha = 0.5, nu = Inf, pars = NULL)
psst(q, mu = 0, s = 1, alpha = 0.5, nu = Inf, pars = NULL)
qsst(p, mu = 0, s = 1, alpha = 0.5, nu = Inf, pars = NULL)
rsst(n, mu = 0, s = 1, alpha = 0.5, nu = Inf, pars = NULL)
sstMoments(
mu = 0,
s = 1,
alpha = 0.5,
nu = Inf,
pars = NULL,
method = c("analytical", "numerical"),
type = c("excess", "regular")
)
sstRawMoment(
n,
mu = 0,
s = 1,
alpha = 0.5,
nu = Inf,
pars = NULL,
method = c("analytical", "numerical")
)
sstCentralMoment(
n,
mu = 0,
s = 1,
alpha = 0.5,
nu = Inf,
pars = NULL,
method = c("analytical", "numerical")
)
sstInfoMat(pars)
sstMLE(
data,
start_pars = c(),
fixed_pars = c(),
solver = c("nlminb", "nloptr", "Rsolnp"),
solver_control = list()
)
x , q |
vector of quantiles |
mu |
location parameter |
s |
scale parameter, |
alpha |
skewness parameter, |
nu |
degrees of freedom / tail parameter for the both tails, |
pars |
a vector that contains mu, s, alpha, nu1, nu2, if pars is specified, mu, s, alpha, nu1, nu2 should not be specified |
p |
vector of probablilities |
n |
number of observations for random generation |
method |
method used to calculate the moment(s), one of 'analytical' and 'numerical' |
type |
type of kurtosis calculated, one of 'excess' and 'regular' |
data |
a univariate data object to be fitted |
start_pars |
a named numeric vector of starting parameters for the optimization algorithm, not all parameters are needed |
fixed_pars |
a named numeric vector of parameters to be kept fixed during the optimization routine, not all parameters are needed |
solver |
solver used for MLE, one of 'nlminb', 'nloptr', 'Rsolnp', default is 'nlminb' |
solver_control |
list of control arguments passed to the solver |
The SST functions are wrappers of their AST equivalent.
For most of the functions, they are implemented by simply setting nu1, nu2(AST) = nu(SST).
For sstFit
, it is implemented by setting symmetric = TRUE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.