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