Description Usage Arguments Details Value Author(s)

Generates sample of correlated data with univariate g-and-h distributions.

1 | ```
CreateSample(n, k, r, g, h, uniform)
``` |

`n` |
Sample size |

`k` |
Number of variables |

`r` |
Correlation among variables |

`g` |
Parameter used to control asymmetry (scalar); sign indicates direction and absolute value indicates magnitude of skew (e.g., +/- .30 yields substantial asymmetry). |

`h` |
Parameter used to control tail weight (scalar); positive values yield tails that are longer/thinner than a standard normal curve, negative values do the reverse (e.g., +/- .15 is a substantial departure from normality). |

`uniform` |
Whether to generate random values (the program default) or use uniformly distributed quantiles (T/F). |

Called by higher-order functions; users do not need to call this function directly.

Sample of data

John Ruscio <[email protected]> and Shirley Wang <[email protected]> Maintainer: John Ruscio <[email protected]>

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.