getErrorDiff: getErrorDiff

View source: R/compromise.R

getErrorDiffR Documentation

getErrorDiff

Description

Determine the squared log-difference between alpha and beta error given a certain chi-square value from central chi-square(df) and a non-central chi-square(df, ncp) distribution.

Usage

getErrorDiff(critChiSquare, df, ncp, log.abratio)

Arguments

critChiSquare

evaluated chi-squared value

df

the model degrees of freedom

ncp

the non-centrality parameter

log.abratio

log(alpha/beta)

Value

squared difference between alpha and beta on a log scale


semPower documentation built on Sept. 30, 2024, 9:24 a.m.