order_rexp: Gets random order statistics from an exponential distribution

Description Usage Arguments Value Examples

Description

Gets random order statistics from an exponential distribution

Usage

1
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

1
order_rexp(10, 0.005, 100, 10000)

Example output

 [1] 1.969235 1.972007 2.005517 1.757058 2.207719 1.944578 2.067952 2.216713
 [9] 1.999194 1.867792

orderstats documentation built on May 2, 2019, 1:47 p.m.