getBetadiff: getBetadiff

Description Usage Arguments Value

View source: R/aPriori.R

Description

get squared difference between requested and achieved beta on a logscale

Usage

1
getBetadiff(cN, critChi, logBetaTarget, fmin, df, weights = NULL)

Arguments

cN

current N

critChi

critical chi-square associated with chosen alpha error

logBetaTarget

log(desired beta)

fmin

minimum of the ML fit function

df

the model degrees of freedom

weights

sample weights for multiple group models

Value

squared difference requested and achieved beta on a log scale


semPower documentation built on Nov. 2, 2021, 1:06 a.m.