Learn R Programming

orderstats (version 0.1.0)

Efficiently Generates Random Order Statistic Variables

Description

All the methods in this package generate a vector of uniform order statistics using a beta distribution and use an inverse cumulative distribution function for some distribution to give a vector of random order statistic variables for some distribution. This is much more efficient than using a loop since it is directly sampling from the order statistic distribution.

Copy Link

Version

Install

install.packages('orderstats')

Monthly Downloads

153

Version

0.1.0

License

GPL-2

Maintainer

Christian Sims

Last Published

June 11th, 2017

Functions in orderstats (0.1.0)

order_probs

Gets order statistics from a 0-1 uniform distribution
order_rcauchy

Gets random order statistics from a cauchy distribution
order_rgamma

Gets random order statistics from a gamma distribution
order_rlogis

Gets random order statistics from a logistic distribution
order_rchisq

Gets random order statistics from a chi-square distribution
order_rexp

Gets random order statistics from an exponential distribution
order_rnorm

Gets random order statistics from a normal distribution