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 April 22, 2024, 8:42 p.m.