set.seed(123)
## Yuen's test
yuen(Anxiety ~ Group, data = spider)
## Bootstrap version of Yuen's test (symmetric CIs)
yuenbt(Anxiety ~ Group, data = spider)
## Robust Cohen's delta
akp.effect(Anxiety ~ Group, data = spider)
## Using an M-estimator
pb2gen(Anxiety ~ Group, data = spider, est = "mom")
pb2gen(Anxiety ~ Group, data = spider, est = "mean")
pb2gen(Anxiety ~ Group, data = spider, est = "median")
## Using the median
medpb2(Anxiety ~ Group, data = spider)
## Quantiles
set.seed(123)
qcomhd(Anxiety ~ Group, data = spider, q = c(0.8, 0.85, 0.9), nboot = 500)
Run the code above in your browser using DataLab