Multivariate Ordinal Random Variates via Binary Conversion

Creates correlated multivariate ordinal random variables by a Monte Carlo simulation.

1 | ```
rmvord_mc(n = 1, probs, Cor)
``` |

`n` |
Number of Observations |

`probs` |
List of probabilities for the variables, length of probability equals number of items, length of list equals number of variables |

`Cor` |
Correlation matrix |

Ordinal values are produced by shifting the variables until correlation structure is reached.

Returns `n`

observations with given marginal probabilities
`probs`

and correlation structure `Cor`

.

Dominik Traeger and Sebastian Kaiser

1 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.