Timeline for glmer model in r, negative slope for a predictor, data seems to have positive slope
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 6, 2018 at 13:12 | vote | accept | Zahra Arjmandi | ||
Dec 3, 2018 at 13:07 | comment | added | Zahra Arjmandi | I used this line of code to plot fitted value against order: ggplot(as.data.frame(effect("order", mod = g2amin)), aes(x = order, y = fit)+ geom_point() @DimitrisR | |
Dec 3, 2018 at 12:57 | comment | added | Zahra Arjmandi | I've got another question. for variable order beta = -.06. so for every unit increase in order, odd ratio change is exp(-.06) - 1= .94 - 1 = -.06. If odd's ration decrease -> my response variable's probability decreases. but when I plot fitted value by order, it's still increasing! I can't get what's the problem! | |
Dec 3, 2018 at 11:54 | comment | added | Zahra Arjmandi | Many thanks :) Package effects was a good help to prepare data for plotting fitted values: quantdev.ssri.psu.edu/tutorials/… | |
Dec 3, 2018 at 11:52 | vote | accept | Zahra Arjmandi | ||
Dec 4, 2018 at 4:41 | |||||
Dec 3, 2018 at 11:06 | comment | added | Dimitris Rizopoulos |
You could indeed use an effect plot to depict what is going on with order and BlockType .
|
|
Dec 3, 2018 at 5:40 | comment | added | Zahra Arjmandi | Thanks Dimitris. So, if the plot is not useful, how could I interpret the interaction effect of order * BlockType? I used a plot for that effect too! | |
Dec 3, 2018 at 5:06 | history | answered | Dimitris Rizopoulos | CC BY-SA 4.0 |