You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the dispersion parameter for families with one isn't taken into account when calculating the deviance for GLMMs. For example, in Julia we have:
julia> lexdec_glmm_gamma
Generalized Linear Mixed Model fit by maximum likelihood (nAGQ =1)
rt_raw ~1+ Class + NativeLanguage + Class & NativeLanguage + (1| Subject) + (1| Word)
Distribution: Gamma{Float64}
Link:IdentityLink()
Deviance:91.9052
Variance components:
Column Variance Std.Dev.
Word (Intercept) 0.00000.00000
Subject (Intercept) 1508.780338.84302
Number of obs:1659; levels of grouping factors:79, 21
Fixed-effects parameters:
──────────────────────────────────────────────────────────────────────────────
Estimate Std.Error z value P(>|z|)
──────────────────────────────────────────────────────────────────────────────
(Intercept) 563.5526.6978584.1393<1e-99
Class: plant 6.436739.205470.6992290.4844
NativeLanguage: Other 114.54311.258710.1737<1e-23
Class: plant & NativeLanguage: Other -29.366815.495-1.895240.0581
──────────────────────────────────────────────────────────────────────────────
julia>loglikelihood(lexdec_glmm_gamma)
ERROR: MethodError: no method matching Gamma{Float64}(::Float64)
Closest candidates are:Gamma{Float64}(::Any, ::Any) where T at /home/XXX/.julia/packages/Distributions/Vcqls/src/univariate/continuous/gamma.jl:30
Stacktrace:
[1] loglikelihood(::GeneralizedLinearMixedModel{Float64}) at /home/XXX/Work/MixedModels.jl/src/generalizedlinearmixedmodel.jl:301
[2] top-level scope at none:0
Currently, the dispersion parameter for families with one isn't taken into account when calculating the deviance for GLMMs. For example, in Julia we have:
But in R we have:
See also lme4/lme4#375.
The text was updated successfully, but these errors were encountered: