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 Nov. 15, 2023, 1:08 a.m.