Skip to content

ENH: matrix tools for covariances #4140

Open

Description

@josef-pkt

Another set of matrix tools, those based on vec, vech and similar operators. Magnus and Neudecker or Neudecker and other co-authors.
I have a preliminary version used for computing estimates of the covariance of the sample covariance and correlation. The current version is mainly "academic", i.e. not useful for large covariance matrices since the dimensions go up to k_vars**2 x k_vars**2, and assume balanced data, i.e. all multivariate observations have same k_vars. That is for example not assumed in GEE cov_struct, where cov are within a panel unit or a group that can have different number of observation per group.

We also need to organize other matrix/linalg tools, and clean them up to what's helpful/used and what are just draft versions.
e.g.
stats.multivariate_tools has one version of project and canonical correlation
tools.moment_helpers has cov2corr
matrix classes are in ...? sandbox\archive\linalg_decomp_1.py (not used)
stats.correlation_tools has only the nearest cov or corr functions
tsa.vector_ar.utils has some like vech
more ?

Activity

  1. added this to the 0.10 milestone on Nov 26, 2017
  2. josef-pkt commented on Dec 1, 2017

    @josef-pkt
    MemberAuthor

    some references, mainly for curiosity, or when we need more 3rd and 4th order moment matrices/arrays
    I didn't look at them at all (related suggestions when looking in Elsevier sciencedirect)

    Loperfido, Nicola. 2011. “Spectral Analysis of the Fourth Moment Matrix.” Linear Algebra and Its Applications 435 (8):1837–44. https://doi.org/10.1016/j.laa.2011.03.053.
    ———. 2017. “A New Kurtosis Matrix, with Statistical Applications.” Linear Algebra and Its Applications 512 (Supplement C):1–17. https://doi.org/10.1016/j.laa.2016.09.033.
    Meijer, Erik. 2005. “Matrix Algebra for Higher Order Moments.” Linear Algebra and Its Applications 410 (November):112–34. https://doi.org/10.1016/j.laa.2005.02.040.
    Peña, Daniel, Francisco J. Prieto, and Júlia Viladomat. 2010. “Eigenvectors of a Kurtosis Matrix as Interesting Directions to Reveal Cluster Structure.” Journal of Multivariate Analysis 101 (9):1995–2007. https://doi.org/10.1016/j.jmva.2010.04.014.

  3. josef-pkt commented on Oct 23, 2019

    @josef-pkt
    MemberAuthor

    adding here as related tool, using cholesky or qr for sequential correlation or regression
    #296 includes link to my old blog

    #3197 using cholesky as unrestricted parameterization of covariance or correlation matrix, or the precision matrix, assumes prior sequential ordering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions