About Anaconda Help Download Anaconda

r / packages / r-randcorr

Implements the algorithm by Pourahmadi and Wang (2015) <doi:10.1016/j.spl.2015.06.015> for generating a random p x p correlation matrix. Briefly, the idea is to represent the correlation matrix using Cholesky factorization and p(p-1)/2 hyperspherical coordinates (i.e., angles), sample the angles from a particular distribution and then convert to the standard correlation matrix form. The angles are sampled from a distribution with pdf proportional to sin^k(theta) (0 < theta < pi, k >= 1) using the efficient sampling algorithm described in Enes Makalic and Daniel F. Schmidt (2018) <arXiv:1809.05212>.

Click on a badge to see how to embed it in your web page
badge
https://anaconda.org/r/r-randcorr/badges/version.svg
badge
https://anaconda.org/r/r-randcorr/badges/latest_release_date.svg
badge
https://anaconda.org/r/r-randcorr/badges/latest_release_relative_date.svg
badge
https://anaconda.org/r/r-randcorr/badges/platforms.svg
badge
https://anaconda.org/r/r-randcorr/badges/license.svg
badge
https://anaconda.org/r/r-randcorr/badges/downloads.svg

© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.5) Legal | Privacy Policy