My focal transitions are coded "N" and "D," with "D" being a hidden state; I am therefore applying treatment and covariate effects to the term in my model [N:toD]. My understanding from general R use is that
- Code: Select all
N:toD:time:treatment:eaten
- Code: Select all
N:toD:time + N:toD:time:eaten + N:toD:time:treatment + N:toD:time:eaten:treatment
Are there any inherent issues with having multiple factors affect a transition within multistate model or is this likely an estimability issue related to my dataset? Ideally I'd like to build a single model that compares the effects of ambient levels of herbivory (which is fairly common) with our experimental treatment.
Some more details:
-As noted above, "D" is a hidden state with p = 0. Above-ground states ("Y" and "N") have p = 1.
-Because I am interested in the dynamics of the hidden state I constrain survival to be constant over time.
-N is about 200 individuals.
Treatment x Herbivory effect, version 1
- Code: Select all
Psi.1 <- list(formula = ~-1 +
N:toY:time +
N:toD:time:treatment:eaten +
Y:toY:time +
Y:toN:time +
D:toN:time +
D:toD:time)
Treatment x Herbivory effect, version 1
Psi.2 <- list(formula = ~-1 + #Remove intercept (?)
N:toY:time +
N:toD:time + N:toD:time:eaten + N:toD:time:treatment + N:toD:time:eaten:treatment +
Y:toY:time +
Y:toN:time +
D:toN:time +
D:toD:time)