Skip to content

Conversation

@palday
Copy link
Member

@palday palday commented Sep 15, 2020

Closes #372.

Is the warning message okay?

@codecov
Copy link

codecov bot commented Sep 15, 2020

Codecov Report

Merging #373 into master will increase coverage by 0.11%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #373      +/-   ##
==========================================
+ Coverage   94.86%   94.97%   +0.11%     
==========================================
  Files          23       23              
  Lines        1576     1593      +17     
==========================================
+ Hits         1495     1513      +18     
+ Misses         81       80       -1     
Impacted Files Coverage Δ
src/generalizedlinearmixedmodel.jl 82.94% <100.00%> (+0.62%) ⬆️
src/utilities.jl 98.75% <0.00%> (ø)
src/likelihoodratiotest.jl 98.66% <0.00%> (+0.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d601cdc...d42d0d5. Read the comment docs.

@palday palday requested a review from dmbates September 22, 2020 15:16
throw(ArgumentError("use LinearMixedModel for Normal distribution with IdentityLink"))

if !any(isa(d, dist) for dist in (Bernoulli, Binomial, Poisson))
@warn """Results for families with a dispersion parameter are known to be inaccurate.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might change that to "Results for families with a dispersion parameter are not reliable. It is best to avoid trying to fit such models in MixedModels until the authors get a better understanding of those cases."

@palday palday requested a review from dmbates September 22, 2020 21:21
@dmbates dmbates merged commit 66b8863 into master Sep 23, 2020
@palday palday mentioned this pull request Oct 2, 2020
10 tasks
palday added a commit that referenced this pull request Oct 2, 2020
…ith dispersion parameter(cherry picked from commit 66b8863)
palday added a commit that referenced this pull request Oct 2, 2020
* warning for GLMM with dispersion parameter (#373)* warning for GLMM with dispersion parameter(cherry picked from commit 66b8863)

* correct coeftable for GLMMs, add tests (#308)

* Move methods for abstract MixedModel struct to separate file.

(cherry picked from commit 5fb6f65)

* chang CoefTable column names to match GLM.jl

* ranef method for GLMM (#336)

(cherry picked from commit 753aa6f)

* make (1|x) + (y|x) equivalent to (1|x) + (0+y|x) (#338)

* fix error with (1|x) + (y|x)

* fix typo

(cherry picked from commit 20c83ef)

* update ranef docstring

Co-authored-by: Douglas Bates <dmbates@gmail.com>
@palday palday deleted the pa/glmmwarn branch November 19, 2020 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warn on GLMM with dispersion parameter

3 participants