Skip to content
Prev 16595 / 20628 Next

Cheking for outliers after fitting a glmmTMB

Dear Irene,

You're apparently trying to use the leveragePlot() function in the car package. That doesn't plot residuals vs. hat-values (leverages) but is rather a variation on added-variable plots. 

The car package does have some influence diagnostics for mixed models, but unfortunately only for models fit with functions in the lme4 and nlme packages. See ?influence.mixed.models . Perhaps you can adapt our code to the glmmTMB package.

I hope this helps,
 John

-----------------------------
John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
Web: socialsciences.mcmaster.ca/jfox/
Message-ID: <ACD1644AA6C67E4FBD0C350625508EC836808407@FHSDB2D11-2.csu.mcmaster.ca>
In-Reply-To: <6121_1526892703_w4L8pgFV009126_CAGJ2grb1s7jrei7ztSdhH75LCOxKEiFD+aoisWdc1jwj4aUmuQ@mail.gmail.com>