The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

mos: Simulation and Moments Computation for Order Statistics

The mos package provides tools for simulating order statistics, censored samples (Type I and Type II), and record values from various continuous distributions. It also includes functions to compute the moments (mean, variance, skewness, and kurtosis) of order statistics using exact or simulation-based methods.

Installation

You can install the package from CRAN with:

install.packages("mos")

Features

Example

Compute the first and second moments of the 2nd order statistic from an exponential distribution:

mo_exp(r = 2, n = 10, k = 1)  # First moment
mo_exp(r = 2, n = 10, k = 2)  # Second moment

Simulate order statistics from the normal distribution:

ros(size = 5, r = 2, n = 10, dist = "norm", mean = 0, sd = 1)

License

GPL-3

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.