get_Fstat_ddf: Compute denominator df for F-test

Description Usage Arguments Details Value Author(s)

View source: R/contest.R

Description

From a vector of denominator df from independent t-statistics (nu), the denominator df for the corresponding F-test is computed.

Usage

1
get_Fstat_ddf(nu, tol = 1e-08)

Arguments

nu

vector of denominator df for the t-statistics

tol

tolerance on the consequtive differences between elements of nu to

Details

Note that if any nu <= 2 then 2 is returned. Also, if all nu are within tol of each other the simple average of the nu-vector is returned. This is to avoid downward bias.

Value

the denominator df; a numerical scalar

Author(s)

Rune Haubo B. Christensen


lmerTest documentation built on Oct. 23, 2020, 6:16 p.m.