Comments (1)
Hello, thanks for your questions, which I reply to below:
-
Sorry, yes, this was a typo. Corrected
-
This is an interesting idea, and I have to think about this. I would file this under the general problem of what a good test statistic for working on the simulated data. I have just advised a MSc thesis on this topic, and the student has done extensive simulations. From that, it seems that the problem of this test is not so much a lack of calibration, or bias of the test statistic (which you suggest), but power, but it may be so that the bias from the mechanism that you suggest (which makes sense to me, there should be a small bias) is not visible due to a lack of power.
-
If I understand correctly what you want, this would be the same test as before, just with summing over Pearson residuals instead of Variance? I have considered this, the problem is that this is not general, because there are models that don't report Pearson residuals. I could approximate the variance by simulation, but this could fail if I have a response where all simulated values are, for example, zero.
-
We have also made extensive simulations for this problem. The issue here is the unknown df of the chi2 distribution, which biases a "naive" Pearson chi2, as suggested in many books and on the web, towards underdispersion.
from dharma.
Related Issues (20)
- Dealing with non-uniform residuals in y-direction when plotted against predictor(s) HOT 2
- testDispersion() default fails to detect overdispersion in a Poisson GLMM HOT 4
- Question about using DHARMa for Bernoulli Response Data
- Add support for nls
- Diagnostic plots for model using glmmTMB and Beta distibution HOT 6
- could not find function "ensureDHARMa"
- plotResiduals() falls back to predict and doesn't create a warning if variable doesn't exist
- Implement option to use DHARMa plots on general residual definition (bypassing simulation)
- Power of the KS test HOT 1
- How to resolve the residual versus predicted quantile devation (Dharma plot)?
- Could not find documentation on red-shaded area around smooth spline HOT 2
- Pattern in RE-grouped residual for binomial GLMM HOT 2
- Adjust DHARMa plots for color blindness
- DHARMa: fittedModel not in class of supported models for a glmmTMB model HOT 3
- Dispersion calculations for mdcv tweedie distribution HOT 1
- Clarify dispersion tests
- Extracted Pearson residuals wrong for mccv (type should be "scaled.pearson")
- Adding support for multinomial family in mcvc::gam HOT 4
- Simulations with infitite values for weighted binomial GAM, interpreting plots HOT 3
- Move all function links to me md syntax [simulateResiduals]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dharma.