# example in which the means are 114 vs. 101 with sds of 14.3 and 12.5 respectively
J( statistics = list( n1 = 12, n2 = 12 ),
design = "between")
# example in a repeated-measure design
J( statistics = list( n = 12, rho = 0.53 ),
design = "within")
# example with a single-group design where mu is a population parameter
J( statistics = list( n = 12 ),
design = "single")
# The results can be displayed in three modes
res <- J( statistics = list( n = 12 ),
design = "single")
# a raw result of the Cohen's d_p and its confidence interval
res
# a human-readable output
summarize( res )
# ...and a human-readable ouptut with additional explanations
explain( res )
Run the code above in your browser using DataLab