Closed tqdo closed 1 year ago
Hello @tqdo,
yes, the scale on y tells you if data are higher / lower than expected. Given that you have an effect 2 * x1, but do not include x1 in the fit, plotting against x1 predictably shows that residuals are too low for x1=0 and too high for x1=1.
The labelling in your plot is confusing, you will see the normal labels when doing
plotResiduals(simulationOutput, form = x1, rank = F)
Probably a silly question, with the positive coefficient (2) for x1, why does not including it make the residuals too low for x1=0 and too high for x1=1?
If my classification is imbalanced, does the direction of the deviations have any association with the imbalance? Thanks a lot
Code:
Result:
The boxplot on the right shows a clear deviation from the uniform distribution. The deviation is upward. I wonder whether the direction of the deviation has any meaning? If the deviation is downward, does it mean any difference? Thanks a lot