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)
A vector
A matrix of SNP effects on the exposure variable.
A vector of SNP effects on the outcome variable.
A list of inverse of covariance matrix.
A vector of final estimates of causal effect of each exposure by MVMR-cML-BIC obtained from MVmr_cML_DP
.
A vector of the index of valid IVs.
A vector of estimated horizontal pleiotropic effects.