FRatio: F-Statistic Ratio

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/FRatio.R

Description

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

Usage

1
  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

Author(s)

Gaston Sanchez

References

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

See Also

discPower, corRatio

Examples

1
2
3
4
5
6
7
8
## Not run: 
  # load bordeaux wines dataset
  data(bordeaux)

  # F-statistic ratio between temperature and quality
  FRatio(bordeaux$temperature, bordeaux$quality)
  
## End(Not run)

Example output

           F      p_value 
2.738931e+01 1.408416e-07 

DiscriMiner documentation built on May 1, 2019, 10:32 p.m.