Macaulay2 » Documentation
Packages » GraphicalModelsMLE :: solverMLE(...,RealPrecision=>...)
next | previous | forward | backward | up | index | toc

# solverMLE(...,RealPrecision=>...) -- the number of bits of precision to use in the computation

- Usage:
    `solverMLE(G,U,RealPrecision=>n)`
- Inputs:
  - n, an integer, default is 53

## Description

This optional input only applies when the sample data or the sample covariance matrix has real entries. By default, the precision is 53 (the default precision for real numbers in M2).

    i1 : G = mixedGraph(digraph {{1,2},{1,3},{2,3},{3,4}},bigraph {{3,4}});

    i2 : U = matrix{{6.2849049, 10.292875, 1.038475, 1.1845757}, {3.1938475, 3.2573, 1.13847, 1}, {4/5, 3/2, 9/8, 3/10}, {10/7, 2/3,1, 8/3}};

                    4         4
    o2 : Matrix RR    <-- RR
                  53        53

    i3 : solverMLE(G,U,RealPrecision=>10)

    o3 = (1.83311, | 4.52904   7.81123   -.0250185 .309951   |, 2)
                   | 7.81123   14.3732   -.0382332 .473665   |
                   | -.0250185 -.0382332 .00337164 -.0418254 |
                   | .309951   .473665   -.0418254 .742627   |

    o3 : Sequence

## See also

- scoreEquations -- score equations of the log-likelihood function of a Gaussian graphical model
- solverMLE -- Maximum likelihood estimate of a loopless mixed graph

## Functions with optional argument named RealPrecision:

- scoreEquations(...,RealPrecision=>...) -- the number of bits of precision to use in the computation
- solverMLE(...,RealPrecision=>...) -- the number of bits of precision to use in the computation

## Further information

- Default value: 53
- Function: solverMLE -- Maximum likelihood estimate of a loopless mixed graph
- Option key: RealPrecision -- optional input to choose the number of decimals used to round to QQ when inputing data in RR

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