A package for the stochastic simulation of discrete variables with assigned marginal distributions and correlation matrix is presented and discussed. The simulating mechanism relies upon the Gaussian copula, linking the discrete distributions together, and an iterative scheme recovering the correlation matrix for the copula that ensures the desired correlations among the discrete variables. Examples of its use are provided as well as three possible applications (related to probability, sampling, and inference), which illustrate the utility of the package as an efficient and easy-to-use tool both in statistical research and for didactic purposes.
An R package for the simulation of correlated discrete variables / A. Barbiero, P.A. Ferrari. - In: COMMUNICATIONS IN STATISTICS. SIMULATION AND COMPUTATION. - ISSN 0361-0918. - (2016 Mar 07), pp. 1-18. [Epub ahead of print]
An R package for the simulation of correlated discrete variables
A. Barbiero
;P.A. FerrariUltimo
2016
Abstract
A package for the stochastic simulation of discrete variables with assigned marginal distributions and correlation matrix is presented and discussed. The simulating mechanism relies upon the Gaussian copula, linking the discrete distributions together, and an iterative scheme recovering the correlation matrix for the copula that ensures the desired correlations among the discrete variables. Examples of its use are provided as well as three possible applications (related to probability, sampling, and inference), which illustrate the utility of the package as an efficient and easy-to-use tool both in statistical research and for didactic purposes.File | Dimensione | Formato | |
---|---|---|---|
An R package for the simulation of correlated discrete variables.pdf
accesso riservato
Tipologia:
Publisher's version/PDF
Dimensione
726.34 kB
Formato
Adobe PDF
|
726.34 kB | Adobe PDF | Visualizza/Apri Richiedi una copia |
Pubblicazioni consigliate
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.