Learn R Programming

ERPeq (version 0.1.0)

rexpexp: Generate random observations from exponentiated exponential distribution

Description

Generate random observations from exponentiated exponential distribution

Usage

rexpexp(n, alpha, lambda)

Value

return the random sample generated from exponentiated exponential distribution

Arguments

n

number of observations to be generated

alpha

shape parameter of the exponentiated exponential distribution

lambda

scale parameter of the exponentiated exponential distribution

References

Johnson, N. L., Kotz, S. and Balakrishnan, N. (1995) Continuous Univariate Distributions, volume 1, chapter 21. Wiley, New York.

Examples

Run this code
rexpexp(100,2,3)

Run the code above in your browser using DataLab