Description Usage Arguments Value See Also Examples
View source: R/get_optimal_weights.R
This function returns the "optimal" weights for a set of unbiased proxies for the truth. The optimality condition is based on the minimization of the MSE, using the weighted proxy as an estimator for the true covariate.
1 | getOptimalWeights(W, ...)
|
W |
A list of length 'k' containing matrices of error-prone proxy measurements of the covariate. Matrices should all be n (observations) x p (dimension of covariates). |
A list containing $weights, the optimally computed weights, as well as $M_j, the error-covariance structure matrix.
[rcalibration::getMj()] which this function calls for the $Mj return, [rcalibration::generalizedRC()] which uses these weights
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.