Skip to content
Prev 16761 / 20628 Next

Question on hierarchical nature and data format using lmer

Great Thierry!

I am really exposing my ignorance, but I am also learning a lot. I design matrix shows up well. The research question is simple: Does study programme and different clinical placements predict a student's degree of sharing (ordinal).

Programme	A	B	C	D	E
Medicine	N	N	N	Y	Y
Medicine	N	N	N	Y	Y
Medicine	N	N	N	Y	Y
Nurse		Y	Y	N	Y	Y
Nurse		Y	Y	N	Y	Y
Nurse		Y	Y	N	Y	Y
Physio		Y	Y	Y	Y	Y
Physio		Y	Y	Y	Y	Y
Physio		Y	Y	Y	Y	Y
Speech		Y	Y	Y	Y	Y
Speech		Y	Y	Y	Y	Y
Speech		Y	Y	Y	Y	Y


Kind regards,
Bernard
-----Original Message-----
From: thierry.onkelinx at inbo.be <thierry.onkelinx at inbo.be> 
Sent: 27 June 2018 16:14
To: Bernard Liew (School of Sport Exercise and Rehabilitation Sciences) <B.Liew at bham.ac.uk>
Cc: r-sig-mixed-models at r-project.org
Subject: Re: [R-sig-ME] Question on hierarchical nature and data format using lmer

Dear Bernard,

Using a factor both in the fixed effects and the random effects is nonsense. I wrote a blog post on that topic:
https://www.muscardinus.be/2017/08/fixed-and-random/

Do all programs have multiple clinics? If programme "physio" has only clinic "A" and clinic "A" is only used in programme "physio" then it is impossible to distinguish between the effect of the programme and the effect of the clinic. Can you illustrate your design as a simple table (e.g. programme as column and clinic as row)? Note that any HTML formatting will be removed, so you plain text formatting only.

Best regards,

ir. Thierry Onkelinx
Statisticus / Statistician

Vlaamse Overheid / Government of Flanders INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND FOREST Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance thierry.onkelinx at inbo.be Havenlaan 88 bus 73, 1000 Brussel 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 ///////////////////////////////////////////////////////////////////////////////////////////




2018-06-27 16:56 GMT+02:00 Bernard Liew <B.Liew at bham.ac.uk>: