Learn R Programming

orderstats (version 0.1.0)

order_rexp: Gets random order statistics from an exponential distribution

Description

Gets random order statistics from an exponential distribution

Usage

order_rexp(draw_size, rate, k, n)

Arguments

draw_size

- The size of the output sample

rate

- The shape parameter in the exponential distribution

k

- The Kth smallest value from a sample

n

- The size of the sample to compute the order statistic from

Value

A vector of random order statistic variables from an exponential distribution

Examples

Run this code
order_rexp(10, 0.005, 100, 10000)

Run the code above in your browser using DataLab