Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
palday committed Jul 9, 2024
1 parent 4d4457d commit 29ae0ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/mixedmodels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ eff = effects(design, model)
@test eff.y + eff.err eff.upper

β = fixef(model)
# note that in the design above, we had a = 2
# β[1] = intercept
# β[2] = a, multiply by 2 because that's what we put in the design
# β[3] = whatever of x|x2 wasn't pivoted out, "multiply by 1" (ie do nothing)
# because we had keep_coef = 1 in the design
@test only(eff.y) β[1] + 2 * β[2] + β[3]

# there is one bit of weirdness -- the removed coefficients behave like any other
Expand Down

0 comments on commit 29ae0ae

Please sign in to comment.