Class Moment_housematrix

java.lang.Object
jline.api.moment.Moment_housematrix

public final class Moment_housematrix extends Object
Conversion matrix of one edge of the house of moments.

The edge is returned as a linear map on the moment subspace {m_0 = 1}. Four edges (the Lah pair and the shifted-binomial pair) pin their zeroth output to 1 rather than propagating element 0, so as maps of the whole space they are affine. Here the offset is folded into column 0, which is empty for those edges, making every edge a genuine matrix. On a moment vector, whose element 0 is 1 by definition, the two agree. This is also what makes those edges usable dimension by dimension in the joint conversions.

Reference: A. Heindl and A. van de Liefvoort. Moment conversions for discrete distributions. PMCCS, 2003.

Since:
LINE 3.0
  • Method Details

    • moment_housematrix

      public static Matrix moment_housematrix(String edge, int n)
      Returns the conversion matrix of one edge of the house of moments.
      Parameters:
      edge - one of "factorial_from_raw", "raw_from_factorial", "upfactorial_from_raw", "raw_from_upfactorial", "binomial_from_factorial", "factorial_from_binomial", "negbinomial_from_upfactorial", "upfactorial_from_negbinomial", "factorial_from_upfactorial", "upfactorial_from_factorial", "negbinomial_from_binomial", "binomial_from_negbinomial", "binomial_from_tail", "tail_from_binomial"
      n - maximum order of the mode (n >= 0)
      Returns:
      the (n+1)x(n+1) conversion matrix