p.asympt: Asymptotic P-values

View source: R/pv.R

p.asymptR Documentation

Asymptotic P-values

Description

Computes asymptotic P-values given the numerator of the pseudo-F statistic, its degrees of freedom and the eigenvalues of the residual covariance matrix.

Usage

p.asympt(ss, df, lambda, eps = 1e-14, eps.updt = 2, eps.stop = 1e-10)

Arguments

ss

numerator of the pseudo-F statistic.

df

degrees of freedom of the numerator of the pseudo-F statistic.

lambda

eigenvalues of the residual covariance matrix.

eps

the desired level of accuracy.

eps.updt

factor by which eps is updated to retry execution of algorithm AS 204 when it fails with fault indicator 4, 5 or 9.

eps.stop

if eps > eps.stop, execution of algorithm AS 204 is not retried and the function raises an error. Default is 1e-10.

Value

A vector containing the P-value and the level of accuracy.

Author(s)

Diego Garrido-Martín

See Also

AS204


isglobal-brge/epimutacions documentation built on April 22, 2024, 4:08 a.m.