match_probdropout_skewed_normal: Match a skewed normal distribution to the probabilistic...

Description Usage Arguments

View source: R/probabilistic_dropouts.R

Description

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.

Usage

1
match_probdropout_skewed_normal(mu, sigma2, rho, zeta)

Arguments

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 nmis times. Defaults to an empty vector.

zeta

vector. The scale of the dropout curves for each sample. Can also be a single number that is repeated nmis times. Defaults to an empty vector.


const-ae/proDD documentation built on Jan. 14, 2020, 9:34 a.m.