sim,biviph-method {matrixdist}R Documentation

Simulation method for bivariate inhomogeneous phase-type distributions

Description

Simulation method for bivariate inhomogeneous phase-type distributions

Usage

## S4 method for signature 'biviph'
sim(x, n = 1000)

Arguments

x

An object of class biviph.

n

An integer of length of realization.

Value

A realization of independent and identically distributed bivariate inhomogeneous phase-type vector.

Examples

under_bivph <- bivph(dimensions = c(3, 3))
obj <- biviph(under_bivph, gfun = c("weibull", "pareto"), gfun_pars = list(c(2), c(3)))
sim(obj, n = 100)

[Package matrixdist version 1.1.9 Index]