steiger_sensitivity: Evaluate the Steiger test's sensitivity to measurement error

View source: R/steiger.R

steiger_sensitivityR Documentation

Evaluate the Steiger test's sensitivity to measurement error

Description

Evaluate the Steiger test's sensitivity to measurement error

Usage

steiger_sensitivity(rgx_o, rgy_o, ...)

Arguments

rgx_o

Observed variance of exposure explained by SNPs

rgy_o

Observed variance of outcome explained by SNPs

...

Further arguments to be passed to lattice::wireframe()

Value

List with the following elements:

vz

Total volume of the error parameter space

vz0

Volume of the parameter space that gives the incorrect answer

vz1

Volume of the paramtere space that gives the correct answer

sensitivity_ratio

Ratio of vz1/vz0. Higher means inferred direction is less susceptible to measurement error

pl

plot of parameter space


MRCIEU/TwoSampleMR documentation built on Sept. 28, 2024, 6:51 p.m.