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

View source: R/get_pve_se.R

get_pve_seR Documentation

Get pve and its standard error from n, z

Description

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.

Details

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

Value

pve and its se.


gap documentation built on Sept. 11, 2024, 5:36 p.m.