multimodel_density_split_mixture: obtain conditional pdf value for y values for "Y"...

Description Usage Arguments Details Value

View source: R/data_Y.R

Description

conditional pdf is defined as following:

Usage

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)
)

Arguments

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

Details

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

Value

conditional pdf values for y vector


benjaminleroy/simulationBands documentation built on Dec. 19, 2021, 8:41 a.m.