Impact {ImpactEffectsize} | R Documentation |
Impact effect size measure
Description
Calculates the Impact effect size measure that is based on the group distance and the difference in the shape of the data distribution between two groups.
Usage
Impact(Data, Cls, PlotIt = FALSE, pde = TRUE,
col = c("red","blue"), meanLines = FALSE, medianLines = FALSE, ...)
Arguments
Data |
the data of both groups as a vector. |
Cls |
the class information as a vector of similar length as the data vector. |
PlotIt |
plots the pdf of the two groups as Pareto density estimation. |
col |
colors of the two lines to plot.
Will be ignored if |
pde |
plots a standard pdf insted of a non-parametric Pareto density estimation.
Will be ignored if |
meanLines |
adds perpendicular lines at the means of the two groups.
Will be ignored if |
medianLines |
adds perpendicular lines at the medians of the two groups.
Will be ignored if |
... |
more graphical parameters can be given as plot arguments if PlotIt = TRUE. |
Value
Returns a list of value incuding the main result and intermediate results.
Impact |
the main effect size measure. |
MorphDiff |
the extend of the group-difference in the shapes of the pdf. |
CTDiff |
the extend of the difference in the group medians. |
Author(s)
Jorn Lotsch and Alfred Ultsch
References
Lotsch, J., and Ultsch, A. (2019): ImpactEffectsize – an R Package for calculation and visualisation of the Impact distance and shape based effect size measure.
Examples
## example 1
data("FeatureselectionData")
ImpactSize <- Impact(Data = FeatureselectionData$Var0011,
Cls = FeatureselectionData$Classes, PlotIt = TRUE)
## example 2
data("BcellLymphomaCD79")
data("FeatureselectionData")
data("FlowcytometricData")
data("SameMeansData")
data("StocksFluctuation")