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
Hello,
I am using a GLMM with a binomial link function to model data. The response variable ('propExternal') is a proportion, with the number of observations accounted for through setting the weights parameter. Party and feed are each factors with two levels and account and scrape number signify the account (equivalent to subject) and the day of the observation.
DHARMa is giving unexpected behavior when I plot it. The predicted values from the model are only four different values, repeated over and over.
When I plot it using the normal plot function, the fitted/predicted values look like they are more appropriate, but the plot is not interpretable which is why I wanted to use DHARMa.
plot(m2)
Is there any explanation for this? I am fairly new to using GLMMs and this is my first time using DHARMa.
Thank you!
The text was updated successfully, but these errors were encountered:
I suspect you have only 2 factor levels each for party*feed - DHARMa is per default plotting residuals against the fixed effect (marginal) predictions only. See #43 for an explanation.
If you want you can overrule this by plotting DHARMa residuals against the full model predictions by hand, but as discussed in the issue, there is a reason why we chose this default!
Hello,
I am using a GLMM with a binomial link function to model data. The response variable ('propExternal') is a proportion, with the number of observations accounted for through setting the weights parameter. Party and feed are each factors with two levels and account and scrape number signify the account (equivalent to subject) and the day of the observation.
DHARMa is giving unexpected behavior when I plot it. The predicted values from the model are only four different values, repeated over and over.
When I plot it using the normal plot function, the fitted/predicted values look like they are more appropriate, but the plot is not interpretable which is why I wanted to use DHARMa.
plot(m2)
Is there any explanation for this? I am fairly new to using GLMMs and this is my first time using DHARMa.
Thank you!
The text was updated successfully, but these errors were encountered: