riph {matrixdist}R Documentation

Random inhomogeneous phase-type

Description

Generates a sample of size n from an inhomogeneous phase-type distribution with parameters alpha, S and beta.

Usage

riph(n, dist_type, alpha, S, beta)

Arguments

n

Sample size.

dist_type

Type of IPH.

alpha

Initial probabilities.

S

Sub-intensity matrix.

beta

Parameter of the transformation.

Value

The simulated sample.


[Package matrixdist version 1.1.9 Index]