Isq: I-squared calculation

View source: R/rucker.R

IsqR Documentation

I-squared calculation

Description

This function calculates the I^2 statistic. To use it for the I^2_{GX} metric ensure that the effects are all the same sign (e.g. abs(y)).

Usage

Isq(y, s)

Arguments

y

Vector of effects.

s

Vector of standard errors.

Value

Isq value


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