Learn R Programming

gap (version 1.5-1)

get_pve_se: Get pve and its standard error from n, z

Description

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

Usage

get_pve_se(n, z, correction = TRUE)

Value

pve and its se.

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.