| ea_phi_mixG_DL | R Documentation |
phi-function for the Exact Algorithm for a tempered mixture Gaussian
ea_phi_mixG_DL(x, n_comp, weights, means, sds, beta, precondition)
x |
real value |
n_comp |
integer number of components of mixture Gaussian |
weights |
vector: weights of mixture Gaussian |
means |
vector: means of mixture Gassuan |
sds |
vector: st.devs of mixture Gaussian |
beta |
real value |
precondition |
precondition value |
real value
weights <- c(0.4, 0.6)
means <- c(-3, 6)
sds <- c(1, 2)
beta <- 1/4
precondition <- 1
curve(dnorm_mix_tempered(x,
n_comp = 2,
weights = weights,
means = means,
sds = sds,
beta = beta),
-20, 40, n = 100000, ylim = c(-0.5, 2), ylab = 'y')
curve(ea_phi_mixG_DL(x,
n_comp = 2,
weights = weights,
means = means,
sds = sds,
beta = beta,
precondition = precondition),
add = T, n = 100000, col = 'red')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.