moment-ph-method: Moment method for phase-type distributions

moment,ph-methodR Documentation

Moment method for phase-type distributions

Description

Moment method for phase-type distributions

Usage

## S4 method for signature 'ph'
moment(x, k = 1)

Arguments

x

An object of class ph.

k

A positive integer (moment order).

Value

The raw moment of the ph (or underlying ph) object.

Examples

set.seed(123)
obj <- ph(structure = "general", dimension = 3)
moment(obj, 2)

matrixdist documentation built on Aug. 8, 2023, 5:06 p.m.