calc.a: calc.a

View source: R/NPSimulation.R

calc.aR Documentation

calc.a

Description

This function is a helper function that calculates one element of the standardized mean difference effect size variance based on Hedges and Olkin p128-131.

Usage

calc.a(f, A)

Arguments

f

a vector defining the degrees of freedom for the effect sizes

A

a vector defining the constants that relate each StdMD to its related t-variable where t^2=Ad^2

Value

The value of a.

Author(s)

Barbara Kitchenham and Lech Madeyski

Examples

reproducer:::calc.a(10,2/10)
# [1] 0.2128649

reproducer documentation built on Oct. 18, 2023, 5:10 p.m.