I would like to statistically test the impact of an experimental design that opposes a within-subject to a between-subject manipulation of the independent variable. In other words, does the design type interacts with the effect of my independent variable.
There is an article from Erlebacher (1977, see also 1978) that addresses this question. However, I have a hard time understanding the formulas or even reproducing the example they provide.
I was also wondering if there is a more recent version of such a test (since the article is quite old), and also if there is a R package/script to implement it.
Ultimately, it would really help me to have a concrete example in R. Below is the data they used in their 1977 article:
X.within <- data.frame(
id = 1:20,
LCS = c(60, 73, 93, 10, 90, 80, 83, 37, 83, 70, 77, 7, 100, 70, 100, 43,43, 83, 40, 73),
SCS = c(36, 53, 66, 0, 73, 43, 20, 10, 26, 40, 60, 3, 53, 26, 63, 6, 3, 30, 7, 10)
)
X.between <- data.frame(
id = 21:60,
cond = rep(c("LCS", "SCS"), each = 20),
score = c(
c(53, 77, 2, 38, 68, 92, 3, 15, 67, 53, 58, 20, 17, 40, 85, 60, 25, 3, 82, 67),
c(62, 0, 57, 42, 3, 55, 22, 28, 45, 47, 52, 75, 38, 45, 65, 50, 2, 0, 10, 60)
)
)
The basic idea is to test whether the X.within$LCS - X.within$SCS
is different from X.between$score[X.between$cond == "LCS"] - X.between$score[X.between$cond == "SCS"]
.