Skip to content
Prev 19124 / 20628 Next

Does corSymm() require balanced data?

Dear Joe,

CorSymm() needs n * (n - 1) / 2 parameters with n the number of groups
(subjects). n = 4 implies 6 parameters for the correlation alone. So you'll
need plenty of data to fit such a model. I'd recommend that the data should
contain at least 20 subjects for every combination of time points. So 20
subjects with measurements for time 0 and time 1, ... In a balanced case
you'll need at least 20 subjects measured at every time point. If some
combinations are missing in subjects, you'll need extra subjects with those
combinations. 9 and 7 subjects in your data is simply not enough for such a
complex correlation structure.

corAR1(form = ~time) is equivalent to corAR1(form = ~time | id) if random =
~1|id.
I think that corAR1(form = ~1| id) will use the order of the data. So if,
and only if, your data is ordered along time, then it is
equivalent to corAR1(form = ~time | id). I recommend to use the
verbose corAR1(form = ~time | id), which is more clear about the structure
what you want.

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
///////////////////////////////////////////////////////////////////////////////////////////

<https://www.inbo.be>


Op ma 15 mrt. 2021 om 15:56 schreef Tip But <fswfswt at gmail.com>: