We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b5f64e commit be52f8bCopy full SHA for be52f8b
test/predict.jl
@@ -198,7 +198,7 @@ end
198
# internally this is punted off to the same machinery as LMM
199
@test predict(gm0) ≈ fitted(gm0)
200
@test predict(gm0; type=:response) ≈ fitted(gm0)
201
- @test predict(gm0; type=:linpred) ≈ predict(gm0, contra; type=:linpred)
+ @test predict(gm0; type=:linpred) ≈ GLM.linkfun.(Ref(Link(gm0)), fitted(gm0))
202
# XXX these tolerances aren't great but are required for fast=false fits
203
@test predict(gm0, contra; type=:linpred) ≈ gm0.resp.eta rtol = 0.1
204
@test predict(gm0, contra; type=:response) ≈ gm0.resp.mu rtol = 0.01
0 commit comments