calculateSSMD {MALDIcellassay} | R Documentation |
Calculate strictly standardized mean difference (SSMD)
Description
Calculate strictly standardized mean difference (SSMD)
Usage
calculateSSMD(res, internal = TRUE, nConc = 2)
Arguments
res |
Object of class MALDIassay |
internal |
Logical, currently only the internal implementation,
using |
nConc |
Numeric, number of top and bottom concentrations to be used
to calculate the pseudo positive and negative control.
Only used if |
Details
The strictly standardized mean difference (SSMD) is a measure of effect size. It is the mean divided by the standard deviation of a difference between the positive and negative control.
\gamma=\frac{\mid\mu_n - \mu_p\mid}{\sqrt{\sigma_n^2 + \sigma_p^2}}
The SSMD can be easily be interpreted as it denotes the difference between positve and negative controls in units of standard deviation.
Value
Numeric vector of strictly standardized mean differences (SSMD)
Examples
# see example for `fitCurve()` to see how this data was generated
data(Blank2022res)
calculateSSMD(Blank2022res, nConc = 2)