mtorchiano / effsize

Effsize - a package for efficient effect size computation
GNU General Public License v2.0
104 stars 11 forks source link

Missing CI boundaries for Cliff #10

Closed mtorchiano closed 8 years ago

mtorchiano commented 8 years ago

Running Cliff's delta with the following code

apeak=read.csv(file.choose())
str(apeak) 
summary(apeak)

library(effsize) 
cliff.delta(apeak$RFCMJCON,apeak$RFSTPCON) # the one that doesnt work
cliff.delta(apeak$RFCMJCON,apeak$RFBDCON) # the one that does work

Where the csv is:

RFCMJCON RFBDCON RFSTPCON
100 96.53060989 69.97976011
100 88.25384811 88.32498771
100 81.37560321 69.14113142
100 78.19838158 76.39975355
100 81.30983164 78.60408527
100 78.84196753 34.12150605
100 91.82523169 78.58812467
100 83.99838241 53.82589386
100 89.0228822 41.2351026
100 91.10459716 48.58016505
100 75.13616203 58.10870381
100 85.36038763 54.39906358
100 121.3087267 67.0017805
100 78.70148616 81.02330166

The following output is produced

Cliff's Delta

delta estimate: 0.9285714 (large)
95 percent confidence interval:
inf sup
NaN NaN
Warning messages:
1: In sqrt(S_d) : NaNs produced
2: In sqrt(S_d) : NaNs produced