Skip to contents

Get pve and its standard error from n, z

Usage

get_pve_se(n, z, correction = TRUE)

Arguments

n

Sample size.

z

z-statistic, i.e., b/se when they are available instead.

correction

if TRUE an correction based on t-statistic is applied.

Value

pve and its se.

Details

This function obtains proportion of explained variance of a continuous outcome.