Learn R Programming

Rsurrogate (version 3.2)

me.variance.estimate: Estimates measurement error variance given replicate data.

Description

Estimates measurement error variance given replicate data using a simple components of variance analysis.

Usage

me.variance.estimate(replicates)

Value

estimate of measurement error variance

Arguments

replicates

matrix of data where each row indicates a subject and each column is a replicated measurement; columns can have NAs when subjects have different numbers of measurements.

Author

Layla Parast

Details

Estimates measurement error variance given replicate data using a simple components of variance analysis.

References

Carroll, R. J., Ruppert, D., Crainiceanu, C. M., and Stefanski, L. A. (2006). Measurement error in nonlinear models: a modern perspective. Chapman and Hall/CRC.

Parast, L., Garcia, T. P., Prentice, R. L., & Carroll, R. J. (2022). Robust methods to correct for measurement error when evaluating a surrogate marker. Biometrics, 78(1), 9-23.