get squared difference between requested and achieved beta on a logscale
getBetadiff(cN, critChi, logBetaTarget, fmin, df, weights = NULL)
squared difference requested and achieved beta on a log scale
current N
critical chi-square associated with chosen alpha error
log(desired beta)
minimum of the ML fit function
the model degrees of freedom
sample weights for multiple group models