| rskew {gendist} | R Documentation |
Random generation of skewed symmetric model.
Description
Computes rg of the skewed symmetric model.
Usage
rskew(n, spec1, arg1, spec2, arg2, interval = c(1, 10))
Arguments
n |
number of random generated values. |
spec1 |
a character string specifying the parent distribution |
arg1 |
list of arguments/parameters of the parent distribution |
spec2 |
a character string specifying the parent distribution |
arg2 |
list of arguments/parameters of the parent distribution |
interval |
a vector of interval end-points to search function root. |
Value
An object of the length n, giving the random generated values for the skewed symmetric model.
Author(s)
Shaiful Anuar Abu Bakar
References
Abu Bakar, S. A., Nadarajah, S., Adzhar, Z. A. A. K., & Mohamed, I. (2016). gendist: An R package for generated probability distribution models. PloS one, 11(6).
Azzalini, A. (1985). A class of distributions which includes the normal ones. Scandinavian journal of statistics, 171-178.
Examples
y=rskew(10, spec1="norm", arg1=list(mean=0,sd=0.1), spec2="logis",
arg2=list(location=0,scale=0.2))