Skip to content
Prev 13734 / 20628 Next

Unidentifiable model in lmer

The formula shouldn't be the problem. model.matrix() is clever enough
to handle this. Have a look at the examples below.

model.matrix(~ A + B + A * B, data= data.frame(A = 1, B = 1))
model.matrix(~ A + B + A * B + B + A:B + B:A, data= data.frame(A = 1, B = 1))

I suggest to give use a reproducible example of the problem so that we
can invesigate what when wrong.
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-09-18 7:23 GMT+02:00 Ch? Lucero <chelucero at uchicago.edu>: