Skip to content

Commit cb90435

Browse files
committed
sdest for GLMM
1 parent c8261be commit cb90435

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generalizedlinearmixedmodel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ function Base.setproperty!(m::GeneralizedLinearMixedModel, s::Symbol, y)
552552
end
553553
end
554554

555-
sdest(m::GeneralizedLinearMixedModel{T}) where {T} = convert(T, NaN)
555+
sdest(m::GeneralizedLinearMixedModel{T}) where {T} = dispersion_parameter(m) ? convert(T, NaN) : varest(m)
556556

557557
function Base.show(io::IO, m::GeneralizedLinearMixedModel)
558558
if m.optsum.feval < 0

0 commit comments

Comments
 (0)