rskew: Random generation of skewed symmetric model.

Description Usage Arguments Value Author(s) References Examples

Description

Computes rg of the skewed symmetric model.

Usage

1
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 g(x) (for example, "norm" if the parent distribution corresponds to the normal).

arg1

list of arguments/parameters of the parent distribution g(x).

spec2

a character string specifying the parent distribution H(x) (for example, "logis" if the parent distribution corresponds to the logistic).

arg2

list of arguments/parameters of the parent distribution H(x).

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

S.A. Abu Bakar, S. Nadarajah, Z.A. ABSL Kamarul Adzhar, I. Mohamed. gendist: An R package for generated probability distribution models, submitted.
Azzalini, A. (1985). A class of distributions which includes the normal ones. Scandinavian journal of statistics, 171-178.

Examples

1
2
y=rskew(10, spec1="norm", arg1=list(mean=0,sd=0.1), spec2="logis", 
        arg2=list(location=0,scale=0.2))


Search within the gendist package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.