Last active
August 29, 2015 14:06
-
-
Save Lakens/99244001e82ae2c4afac to your computer and use it in GitHub Desktop.
Calculate Confidence Intervals around Effect Sizes for Within Designs using MBESS package. Use of the ci.pvaf function returns an error for within designs. The code below calculates CI for within designs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(MBESS) | |
Lims <- conf.limits.ncf(F.value = 7, conf.level = 0.90, df.1 <- 4, df.2 <- 50) | |
Lower.lim <- Lims$Lower.Limit/(Lims$Lower.Limit + df.1 + df.2 + 1) | |
Upper.lim <- Lims$Upper.Limit/(Lims$Upper.Limit + df.1 + df.2 + 1) | |
Lower.lim | |
Upper.lim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment