Skip to content

@gzt gzt released this Jan 25, 2019 · 68 commits to master since this release

Update to the package:

  • Tweaks to the documentation
  • Port pseudo-Wishart to C, generalized inverse Wishart is based on the pseudo-Wishart

This is a minor update to the package but, as the version number indicates, the interface to the exported functions is now stable and I anticipate that this is feature-complete, pending any requests or issues.

Assets 2

@gzt gzt released this Jan 7, 2019 · 84 commits to master since this release

  • Add new functions to the vignette
  • Add generalized inverse Wishart (pseudo inverse of the pseudo Wishart)
  • Add pseudo-Wishart (Wishart distribution based on fewer observations than the
    dimension of the covariance matrix).
  • Add contributor guidelines and code of conduct.
Assets 2

@gzt gzt released this Dec 9, 2018 · 114 commits to master since this release

This is a few minor changes to the internals and the documentation. This new release is on CRAN.

Assets 2

@gzt gzt released this Mar 22, 2018 · 129 commits to master since this release

This release added documentation and the ability to provide multiple matrices (as an array) as input to the density functions.

Assets 2

@gzt gzt released this Mar 9, 2018 · 150 commits to master since this release

CholWishart

A package for fast computation of various functions related to the Wishart distribution, such as sampling from the Cholesky factorization of the Wishart, sampling from the inverse Wishart, sampling from the Cholesky factorization of the inverse Wishart, computing densities for the Wishart and inverse Wishart, and computing a few auxiliary functions such as the multivariate gamma and digamma functions. Many of these functions are written in C to maximize efficiency.

The output of the sampling functions is in the same format as the output
of stats::rWishart().

The main idea: sampling for multivariate or matrix variate statistics often
makes use of distributions related to the Wishart. There are implementations
in a few packages but they are often in R and much slower than the
basic stats::rWishart() or there is a lot of associated overhead in the
package. Here, then, is a small package with some of those distributions
and related functions. As the name suggests, the initial purpose was
sampling from the Cholesky factorization of a Wishart distribution.

Now available on CRAN, install it at:

install.packages('CholWishart')

Install the latest development version at:

devtools::install_github("gzt/CholWishart")

#NEWS

CholWishart 0.9.1

  • Finalize edits to documentation including additional references.

CholWishart 0.9.0.9002

  • Add more documentation, add more references to documentation, clean LaTeX equations in documentation.

CholWishart 0.9.0.9001

  • Add additional tests for dWishart and dInvWishart functions
  • Add references and equations to help files
  • Add additional tests for complex entries (should fail) and other erroneous input
Assets 2

@gzt gzt released this Feb 26, 2018 · 176 commits to master since this release

A package for fast computation of various functions related to the Wishart distribution, such as sampling from the Cholesky factor of the Wishart, sampling from the inverse Wishart, sampling from the Cholesky factor of the inverse Wishart, computing densities for the Wishart and inverse Wishart, and computing a few auxiliary functions such as the multivariate gamma and digamma functions. Many of these functions are written in C to maximize efficiency.

The output of the sampling functions is in the same format as the output of stats::rWishart().

The main idea: sampling for multivariate or matrix variate statistics often makes use of distributions related to the Wishart. There are implementations in a few packages but they are often in R and much slower than the basic stats::rWishart() or there is a lot of associated overhead in the package. Here, then, is a small package with some of those distributions and related functions. As the name suggests, the initial purpose was sampling from the Cholesky factor of a Wishart distribution.

Now available on CRAN, install it at:

install.packages('CholWishart')

Install the latest development version at:

devtools::install_github("gzt/CholWishart")
Assets 2
You can’t perform that action at this time.