mean_probdropout: Find the mean of of the probabilistic dropout distribution...

Description Usage Arguments Warning

View source: R/probabilistic_dropouts.R

Description

Find the mean of of the probabilistic dropout distribution function

Usage

1
mean_probdropout(mu, sigma2, rho, zeta, log = FALSE, approx = TRUE)

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.

log

boolean if the log of the density is returned.

approx

boolean. If TRUE match the probabilistic dropout distribution to a skewed normal distribution and use its mean as an approximation. If FALSE calculate the first moment using numerical integration

Warning

This function is not vectorized


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