Macaulay2 » Documentation
Packages » GraphicalModels :: gaussianRing(...,lVariableName=>...)
next | previous | forward | backward | up | index | toc

# gaussianRing(...,lVariableName=>...) -- symbol used for indeterminates in a ring of Gaussian joint probability distributions

- Usage:
    `gaussianRing(G,lVariableName=>w)`
- Inputs:
  - w, a Symbol or a String

## Description

The option gaussianRing(G,lVariableName=>w) changes the symbol used for intedeterminates in the regression matrix in a polynomial ring created with gaussianRing.

    i1 : G = mixedGraph(digraph {{b,{c,d}},{c,{d}}},bigraph {{a,d}})

    o1 = MixedGraph{Bigraph => Bigraph{a => {d}}   }
                                       d => {a}
                    Digraph => Digraph{b => {c, d}}
                                       c => {d}
                                       d => {}
                    Graph => Graph{}

    o1 : MixedGraph

    i2 : gens gaussianRing(G,lVariableName=>"lambda")

    o2 = {lambda   , lambda   , lambda   , p   , p   , p   , p   , p   , s   ,
                b,c        b,d        c,d   a,a   b,b   c,c   d,d   a,d   a,a
         ------------------------------------------------------------------------
         s   , s   , s   , s   , s   , s   , s   , s   , s   }
          a,b   a,c   a,d   b,b   b,c   b,d   c,c   c,d   d,d

    o2 : List

## Functions with optional argument named lVariableName:

- gaussianRing(...,lVariableName=>...) -- symbol used for indeterminates in a ring of Gaussian joint probability distributions

## Further information

- Default value: l
- Function: gaussianRing -- ring of Gaussian correlations on n random variables or a graphical model
- Option key: lVariableName -- optional input to choose the variable names for the regression matrix

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/GraphicalModels.m2:2755:0.