rfolded: Random generation of folded model.

Description Usage Arguments Value References Examples

Description

Computes rg of the folded model.

Usage

1
rfolded(n, spec, arg, interval = c(0, 100))

Arguments

n

number of random generated values.

spec

a character string specifying the parent distribution (for example, "norm" if the parent distribution correspond to the normal).

arg

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 folded model.

References

S.A. Abu Bakar, S. Nadarajah, Z.A. ABSL Kamarul Adzhar, I. Mohamed. gendist: An R package for generated probability distribution models, submitted.
Brazauskas, V., & Kleefeld, A. (2011). Folded and log-folded-t distributions as models for insurance loss data. Scandinavian Actuarial Journal, 2011(1), 59-74.

Examples

1
y=rfolded(10, spec="norm", arg=list(mean=1,sd=2), interval=c(0,100) )


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.