random_structure: Random structure of a phase-type
Description
Generates random parameters alpha
and S
of a phase-type distribution of dimension p
with chosen structure
Usage
random_structure(p, structure = "general", scale_factor = 1)
Arguments
p
Dimension of the phase-type
structure
Type of structure: "general", "hyperexponential", "gerlang", "coxian" or "gcoxian"
scale_factor
A factor that multiplies the sub-intensity matrix
Value
Random parameters alpha
and S
of a phase-type