Skip to content
Prev 19125 / 20628 Next

Does corSymm() require balanced data?

On 3/15/21 10:56 AM, Tip But wrote:
Balance is probably less important than the total number with 4 
observations.  If you had 100 subjects with 3 times and 20 subjects with 
4 times you'd probably be fine.
I believe that form = ~1|id uses the order of the observations in the 
data set as the time index, and the grouping variable from the random 
effect as the grouping variable, so these should indeed be equivalent (I 
think the documentation should state this, but I haven't checked)

   If you **really** want an answer you can tell R to return it anyway: 
use control=lmeControl(returnObject=TRUE), but I wouldn't trust it.

   It's hard to find another mixed-model package in R that can handle 
this case (unstructured correlation, homogeneous variance).