minus2loglik {mspath}R Documentation

Retrieve Multi-State Path Model Likelihood

Description

Returns -2 * the calculator's previously computed log-likelihood, if any.

Usage

minus2loglik(x)

Arguments

x A previously evaluated calculator, which should be a mspathCalculator or subclass

Value

-2 * log-likelihood, a double.

Methods

x = "mspathCalculator"
standard case

Note

Use this function, rather than a less-reliable unpacking of results, to get the computed likelihood.

You must create and evaluate the calculator with appropriate do.what arguments to get a useful likelihood.

Author(s)

Ross Boylan

See Also

mspathCalculator


[Package mspath version 0.9-9 Index]