Description Usage Arguments Value
View source: R/flexmix_poor_fit_Y.R
this wrapper assumes a model has been fit relative to the 2 mode mixture
of linear regression (similar to flexmix
) for the underlying mass
non-conformal mass scores
1 | simulation_nonconformal_mass_score_mix_reg(x, y, model_params, sim_num = 100)
|
x |
true x |
y |
true y |
model_params |
list of model parameters of with names as follows
that represent a conditional distribution defined by y ~ p1 M1(x) + p2 M2(x) where (M1,M2)(x) ~ right_intercept + N(right_beta*x, right_sd) and (p1,p2) = right_proportions |
sim_num |
number of simulations to base the kernel density estimate of the cde |
nonconformal score for (x,y) pair under specified model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.