[R-sig-ME] Extracting standardized residuals from a gamma(log) glmmTMB

Aoibheann Gaughran gaughra at tcd.ie
Tue Oct 17 15:54:45 CEST 2017


Hi all,

I have run a glmmTMB with (family="Gamma",link="log") and now want to
validate the model, but am unable to extract the standardised residuals
with sresid <- resid(mod1tmb, "pearson").  It produces the following error
message:

Error in residuals.glmmTMB(mod1tmb, "pearson") :
variance function undefined for family ‘Gamma’; cannot compute Pearson residuals


Would anyone be able to assist me with this?

Many thanks,

-- 
Aoibheann Gaughran

Behavioural and Evolutionary Ecology Research Group
Zoology Building
School of Natural Sciences
Trinity College Dublin
Dublin 2
Ireland
Phone: +353 (86) 3812615

	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list