DHARMa icon indicating copy to clipboard operation
DHARMa copied to clipboard

Test of bivariate uniformity

Open StaffanBetner opened this issue 5 years ago • 4 comments

An overall test of independence of errors could be a test of bivariate uniformity of the rank transformed predicted values versus standardized residuals. Maybe an idea to implement this in DHARMa? (And maybe do some simulations to see if the approach is good)

StaffanBetner avatar May 20 '19 07:05 StaffanBetner

Hi Staffan, thanks for the comment. I think what you propose is what I describe in issue https://github.com/florianhartig/DHARMa/issues/72 (sorry, it's super short, was just a reminder to me. My idea was to fit a homogenous Poisson model to the rank-transformed standardised residuals).

Is that what you had in mind? Or is there another test for bivariate uniformity that could work better?

florianhartig avatar May 20 '19 09:05 florianhartig

Hi @StaffanBetner - any more comments on that? Otherwise I will close this as a duplicate of #72.

florianhartig avatar May 22 '19 12:05 florianhartig

@florianhartig There are a couple of available tests for bivariate uniformity. A couple of them are implemented in the R package SHT. Although I do not now how a test of bivariate uniformity would be equal to a test of homogenous poisson process, or which approach that is best suited.

StaffanBetner avatar May 22 '19 15:05 StaffanBetner

OK, thanks, I'll have a look at that!

florianhartig avatar May 24 '19 10:05 florianhartig