MVcML_SdTheta function

Standard error estimate for MVMR-cML-BIC

Standard error estimate for MVMR-cML-BIC

This is based on the profile likelihood of the set of valid IVs, which is not robust to uncertainty in model selection.

MVcML_SdTheta(b_exp, b_out, Sig_inv_l, theta, zero_ind, r_vec = NULL)

Arguments

  • b_exp: A matrix of SNP effects on the exposure variable.
  • b_out: A vector of SNP effects on the outcome variable.
  • Sig_inv_l: A list of inverse of covariance matrix.
  • theta: A vector of final estimates of causal effect of each exposure by MVMR-cML-BIC obtained from MVmr_cML_DP.
  • zero_ind: A vector of the index of valid IVs.
  • r_vec: A vector of estimated horizontal pleiotropic effects.

Returns

A vector

  • Maintainer: Stephen Burgess
  • License: GPL-2 | GPL-3
  • Last published: 2024-04-12

Useful links