fRatioStat {EffectsRelBaseline}R Documentation

F-ratio statistic for grouped responses

Description

Computes the F-ratio statistic for a log-likelihood ratio test of the null hypothesis that the responses are all drawn from one group, rather than the alternative hypothesis that each group has a separate mean.

Usage

fRatioStat(resp, groups)

Arguments

resp

response values

groups

grouping variables (will be treated as factors)

Value

F-ratio statistic

Note

This is the standard F-ratio for a 1-way ANOVA. It is included here for comparison to other statistics.

Author(s)

Peter N. Steinmetz <PeterNSteinmetz@steinmetz.org>

References

B. Lindgren, Statistical Theory, 4th Ed. (1993), section 14.7.

See Also

LL1WayAnova,relBackgroundLL,sumSqCat

Examples

data(ef)
fRatioStat(ef$absResp,ef$race)

[Package EffectsRelBaseline version 0.5 Index]