[R-sig-ME] How to implement nested fixed effect
ONKELINX, Thierry
Thierry.ONKELINX at inbo.be
Mon Oct 20 17:33:03 CEST 2008
Dear all,
First let me start with a brief description of the design of the study.
A colleague examined the effect of 6 different products (including one
blanco). Each product was applied in two doses: a base dose and twice
the base dose. The blanco has offcourse only one dose. Each plot was
measured twice after treatment.
What we want to know is: is there a difference between the products, is
there a difference between the doses and is there a difference between
the years.
So what I tried was:
lme(Response ~ Product * Dose * Year, random = ~1|plot)
But I got
Error in MEEM(object, conLin, control$niterEM) :
Singularity in backsolve at level 0, block 1
I noticed that lm(Response ~ Product * Dose * Year) yields two
coefficients with NA: one for Product5:Dose and one for
Product5:Dose:Year2. Hence I suppose the problem is due to single dosage
for the blanc product (=no treatment). Any solutions to solve this. Or
should I better stick to lme(Response ~ Treatment * Year, random =
~1|plot) where Treatment combines the info from Product and Dose.
Thierry
------------------------------------------------------------------------
----
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature
and Forest
Cel biometrie, methodologie en kwaliteitszorg / Section biometrics,
methodology and quality assurance
Gaverstraat 4
9500 Geraardsbergen
Belgium
tel. + 32 54/436 185
Thierry.Onkelinx at inbo.be
www.inbo.be
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
Dit bericht en eventuele bijlagen geven enkel de visie van de schrijver weer
en binden het INBO onder geen enkel beding, zolang dit bericht niet bevestigd is
door een geldig ondertekend document. The views expressed in this message
and any annex are purely those of the writer and may not be regarded as stating
an official position of INBO, as long as the message is not confirmed by a duly
signed document.
More information about the R-sig-mixed-models
mailing list