Learn R Programming

ssmn (version 1.1)

ssmn: Skew Scale Mixtures of Normal Distributions

Description

It provides the density, distribution function, quantile function and random number generator for the Skew Scale Mixtures of Normal Distributions.

Usage

dssmn(x, location=0, scale=1, shape=0, nu= 1, gama=1, dp=NULL, family="sn") pssmn(q, location=0, scale=1, shape=0, nu= 1, gama=1, dp=NULL, family="sn") qssmn(p, location=0, scale=1, shape=0, nu= 1, gama=1, dp=NULL, family="sn") rssmn(n, location=0, scale=1, shape=0, nu= 1, gama=1, dp=NULL, family="sn")

Arguments

x
the response vector of length $n$ where $n$ is the total of observations.
q
vector of quantiles.
p
vector of probabilities.
n
number of observations.
location
parameter of location.
scale
parameter of scale.
shape
parameter of shape.
nu
degrees of freedom for "stn", "ssl" and "sep". For "scn", nu parameter is considered as proportion of outliers.
gama
factor scale, but only used by family "scn".
dp
vector of parameters.
family
Distribution famility to be used in fitting ("sn", "stn", "ssl", "scn", "sep")