rarctan: Random generation of arc tan model.

Description Usage Arguments Author(s) References Examples

View source: R/gendist.R

Description

Computes rg of the arc tan model.

Usage

1
rarctan(n, alpha, spec, arg)

Arguments

n

number of random generated values.

alpha

the value of α parameter, α>0.

spec

a character string specifying the parent distribution (for example, "lnorm" if the parent distribution corresponds to the lognormal).

arg

list of arguments/parameters of the parent distribution.

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).
Gomez-Deniz, E., & Calderin-Ojeda, E. Modelling insurance data with the pareto arctan distribution. ASTIN Bulletin, 1-22.

Examples

1
y=rarctan(10, alpha=0.5, spec="lnorm", arg=c(meanlog=1,sdlog=2) )

gendist documentation built on May 2, 2019, 3:34 p.m.