Learn R Programming

DiscriMiner (version 0.1-29)

FRatio: F-Statistic Ratio

Description

Calcualtes the F-statistic between a quantitative variable and a qualitative variable

Usage

FRatio(variable, group)

Arguments

variable
a quantitative variable
group
a vector or factor with group memberships (i.e. qualitative variable)

Value

F-statistic and its p-value

References

Tenenhaus M. (2007) Statistique. Dunod, Paris.

See Also

discPower, corRatio

Examples

Run this code
## Not run: 
#   # load bordeaux wines dataset
#   data(bordeaux)
# 
#   # F-statistic ratio between temperature and quality
#   FRatio(bordeaux$temperature, bordeaux$quality)
#   ## End(Not run)

Run the code above in your browser using DataLab