me.variance.estimate {Rsurrogate} | R Documentation |
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)
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. |
Details
Estimates measurement error variance given replicate data using a simple components of variance analysis.
Value
estimate of measurement error variance
Author(s)
Layla Parast
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.