# How to add weights parameter to Generalized Mixed Model

**URL:** https://discourse.julialang.org/t/how-to-add-weights-parameter-to-generalized-mixed-model/41984
**Category:** Statistics
**Tags:** question
**Created:** [June 24, 2020, 2:35pm UTC](https://discourse.julialang.org/t/how-to-add-weights-parameter-to-generalized-mixed-model/41984 "2020-06-24T14:35:11Z")
**Posts on this page:** 1
**Showing post:** 22

<div class="post-metadata">

### Author: ![palday](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palday/32/12640_2.png) [@palday](https://discourse.julialang.org/u/palday)
#### Post date: [June 24, 2020, 7:54pm UTC](https://discourse.julialang.org/t/how-to-add-weights-parameter-to-generalized-mixed-model/41984/22 "2020-06-24T19:54:04Z")

</div>

I’m reasonably sure that’s the correct answer (because that’s the only one that make sense in terms of other things we know are going on).

That said, there are only 4 levels of class, so we’re already really pushing the limits of what we should be fitting. After all, we know that variance estimates (outside of a mixed models context) based on 4 observations generally won’t be great.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-add-weights-parameter-to-generalized-mixed-model/41984)._
