You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was trying to use the package for modeling tree which has within-subject factor. As I have gone through the package's paper, you have given example to model between-subject factor. Should I model the 2htsm for each level of within-subject factor (which I think is wrong, but I do not see any other way as I don't understand how to specify that in treeBUGS package)?
The text was updated successfully, but these errors were encountered:
For within-subjects factors, it is necessary to extend the MPT model equations from one condition to multiple conditions manually. Essentially, it is necessary to define separate trees with separate category labels, as well as separate parameter names.
TreeBUGS also provides the function withinSubjectEQN to simplify this step. Here is an example:
library(TreeBUGS)
htm <- "
# Basic 2HTM for a single condition
Target Hit Do
Target Hit (1-Do)*g
Target Miss (1-Do)*(1-g)
Lure FA (1-Dn)*g
Lure CR (1-Dn)*(1-g)
Lure CR Dn
"
htm2 <- withinSubjectEQN(eqnfile = htm,
labels = c("high","low"),
constant=c("g"))
htm2
Hi,
I was trying to use the package for modeling tree which has within-subject factor. As I have gone through the package's paper, you have given example to model between-subject factor. Should I model the 2htsm for each level of within-subject factor (which I think is wrong, but I do not see any other way as I don't understand how to specify that in treeBUGS package)?
The text was updated successfully, but these errors were encountered: