discPower: Discriminant Power

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

View source: R/discPower.R

Description

Measures Discriminant Power of explanatory variables

Usage

1
  discPower(variables, group)

Arguments

variables

matrix or data frame with explanatory variables

group

vector or factor with group membership

Details

No missing values are allowed

Value

A data frame containing the following columns

correl_ratio

Correlation Ratios

wilks_lambda

Wilks Lambda

F_statistic

F-statistic

p_value

p-value of F-statistic

Author(s)

Gaston Sanchez

References

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

See Also

corRatio, FRatio

Examples

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

  # discriminant power
  dp = discPower(bordeaux[,2:5], bordeaux$quality)
  dp
  
## End(Not run)

Example output

            correl_ratio wilks_lambda F_statistic      p_value
temperature    0.6386046    0.3613954   27.389310 1.408416e-07
sun            0.6178571    0.3821429   25.060741 3.345802e-07
heat           0.4973118    0.5026882   15.334220 2.344932e-05
rain           0.3525374    0.6474626    8.439607 1.185298e-03

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