imputeTruth: impute missing data using multiple imputation

Description Usage Arguments Value Note

Description

impute missing data using multiple imputation

Usage

1
imputeTruth(data, size, mean = "Mu", respons = "Observed", n.sim = 499)

Arguments

data

a data.frame containing the variables Year, Month, Site and Observed. The missing values of Observed are imputed by the algorithm.

size

the size of the negative binomial distribution

mean

the name of the variable in data, holding the true mean

respons

the name of the variable in data, holding the observed values

n.sim

the number of simulations

Value

A matrix with one row for each missing value. Each column is on imputation.

Note

Deprecated function. Only relevant to run the code in the folder hpc and paper_simulation.


ThierryO/multimput documentation built on May 9, 2019, 4:42 p.m.