logLik,ph-method {matrixdist}R Documentation

Loglikelihood method for ph class

Description

Loglikelihood method for ph class

Usage

## S4 method for signature 'ph'
logLik(object)

Arguments

object

An object of class ph.

Value

An object of class logLik.

Examples

obj <- iph(ph(structure = "general", dimension = 2), gfun = "weibull", gfun_pars = 2)
data <- sim(obj, n = 100)
fitted_ph <- fit(obj, data, stepsEM = 10)
logLik(fitted_ph)

[Package matrixdist version 1.1.9 Index]