bivph_density | R Documentation |
Bivariate phase-type joint density
bivph_density(x, alpha, S11, S12, S22)
x |
Matrix of values. |
alpha |
Vector of initial probabilities. |
S11 |
Sub-intensity matrix. |
S12 |
Matrix. |
S22 |
Sub-intensity matrix. |
Joint density at x
.
alpha <- c(0.15, 0.85)
S11 <- matrix(c(c(-2, 9), c(0, -11)), nrow = 2, ncol = 2)
S12 <- matrix(c(c(2, 0), c(0, 2)), nrow = 2, ncol = 2)
S22 <- matrix(c(c(-1, 0), c(0.5, -5)), nrow = 2, ncol = 2)
x <- matrix(c(c(0.5, 1), c(2, 1.5)), ncol = 2)
bivph_density(x, alpha, S11, S12, S22)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.