Learn R Programming

matrixdist (version 1.1.9)

dphdensity: Discrete phase-type density

Description

Computes the density of discrete phase-type distribution with parameters alpha and S at x.

Usage

dphdensity(x, alpha, S)

Value

The density at x.

Arguments

x

Non-negative value.

alpha

Initial probabilities.

S

Sub-transition matrix.