View source: R/probabilistic_dropouts.R
Find the mode of probdropout density and take 5 points around the mode with a distance according to the Laplace approximation variance and calculate the parameters of the skewed normal that most closely matches those 5 points.
1 | match_probdropout_skewed_normal(mu, sigma2, rho, zeta)
|
mu |
double. The mean of the observed values. |
sigma2 |
double. The variance of the mu estimate. |
rho |
vector. The positions of the inflection points of the dropout
curves for each sample. Can also be a single number that is repeated
|
zeta |
vector. The scale of the dropout curves for each sample.
Can also be a single number that is repeated |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.