Skip to content
Prev 13057 / 20628 Next

lmer with binomial distribution of random effects

Dear Siham,

Please keep the mailing list in cc.

I assume that customer is the grouping factor. Note that you not only need
enough different grouping factor, you also need enough data for each
individual grouping factor. Given that you want a random intercept and two
slopes, then you need to fit a 3 x 3 covariance matrix. That needs 6
parameters. You won't get a stable fit, unless a decent number of customers
have a lot of transactions.

Best regards,

ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium

To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey

2015-03-09 12:43 GMT+01:00 Siham El Kihal <sihamelkihal at yahoo.de>: