ph.bidiag: Create a bi-diagonal PH distribution

View source: R/model_ph.R

ph.bidiagR Documentation

Create a bi-diagonal PH distribution

Description

Create an instance of bi-diagonal PH distribution.

Usage

ph.bidiag(size)

Arguments

size

An integer for the number of phases

Value

An instance of bi-diagonal PH distribution

Note

Bi-diagonal PH distribution is the PH distribution whose infinitesimal generator is given by a upper bi-diagonal matrix. This is similar to canonical form 1. But there is no restriction on the order for diagonal elements.

Examples

## create a bidiagonal PH with 5 phases
(param1 <- ph.bidiag(5))


mapfit documentation built on Nov. 22, 2022, 5:05 p.m.