MVcML_SdTheta: Standard error estimate for MVMR-cML-BIC

View source: R/mr_mvcML-methods.R

MVcML_SdThetaR Documentation

Standard error estimate for MVMR-cML-BIC

Description

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

Usage

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.

Value

A vector


MendelianRandomization documentation built on May 29, 2024, 11:36 a.m.