Description Usage Arguments Details Value
conditional pdf is defined as following:
1 2 3 4 5 6 7 8 | multimodel_density_split_mixture(
y,
x_val,
right_beta = c(-1, 1),
right_intercept = c(0, 0),
right_sd = c(1, 1),
right_proportions = c(0.5, 0.5)
)
|
y |
can be a vector |
x_val |
a single value |
right_beta |
vector length 2, see above |
right_intercept |
vector length 2, see above |
right_sd |
vector length 2, see above |
right_proportions |
vector length 2, see above |
If x < -1 we have y ~ norm(mu = 0, sd = 1), else y ~ p1 M1(x) + p2 M2(x) where (M1,M2)(x) ~ right_intercept + N(right_beta*x, right_sd) and (p1,p2) = right_proportions
conditional pdf values for y vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.