Skip to content
Prev 15028 / 20628 Next

Generalized Linerar Model vs Logistic regression

On 16-11-22 12:44 PM, Cleber Iack wrote:
I'm guessing that what you mean by this is that school is a
categorical predictor with 4 levels and Posto is categorical with 5 levels?

  According to Frank Harrell's (_Regression Modeling Strategies_) rules
of thumb, you need about 20 times as many effective observations as the
number of parameters in the model you're trying to fit; in the case of
binary data, 'effective' observations means the minimum of (number of
zeros, number of ones) in your response, i.e. the number of the
less-common response. So I hope you have a large data set (at least
hundreds and preferably thousands of observations ...)
I don't know about ICC. You can in principle use AIC or BIC, or a
likelihood ratio test (LRT), to justify the use of a mixed model. My
personal preference would be to use the mixed model if it makes sense in
the context of your observational/experimental design (e.g. you have a
number of discrete groups in your population that can be thought of as
exchangeable, i.e. changing the identity of the groups wouldn't change
your conclusions), and not to try to use quantitative tests for this
purpose.  You can read more about the use and caveats of AIC, BIC, LRT,
etc. at http://tinyurl.com/glmmFAQ