Description Usage Arguments Value Author(s) References Examples
Robust and classical effects sizes for paired samples of the form: (Mx-My)/S where Mx and My are location parameters for each sample and S is a scale parameter
1 2 | ## S4 method for signature 'paired'
effect.size(object,tr=0.2)
|
object |
an object of class paired |
tr |
percentage of trimming |
A table with two rows corresponding to classical (means) and robust (trimmed means, tr=0.2) delta-type effect sizes. The four columns correspond to:
Average |
Numerator is the difference in (trimmed) means, denominator is the average of the two (winsorised and rescaled to be consistent with the standard deviation when the distribution is normal) standard deviations |
Single (x) |
Denominator is the (winsorised and rescaled) standard deviation of the first sample |
Single (y) |
Denominator is the (winsorised and rescaled) standard deviation of the second sample |
Difference |
Numerator is the (trimmed) mean and denominator the (winsorised and rescaled) standard deviation of the differences (x-y) |
Stephane CHAMPELY
Algina, J., Keselman, H.J. and Penfield, R.D. (2005) Effects sizes and their intervals: the two-level repeated measures case. Educational and Psychological Measurement, 65, 241-258.
1 2 3 4 5 | z<-rnorm(20)
x<-rnorm(20)+z
y<-rnorm(20)+z+1
p<-paired(x,y)
effect.size(p)
|
Loading required package: MASS
Loading required package: gld
Loading required package: mvtnorm
Loading required package: lattice
Loading required package: ggplot2
Attaching package: 'PairedData'
The following object is masked from 'package:base':
summary
Average Single (x) Single (y) Difference
OLS -0.9163387 -0.7830338 -1.1539888 -0.9288940
Robust -0.8319184 -0.7485306 -0.9512856 -0.9445462
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.