Is there a non-parametric version of a linear mixed model? I've seen some people cite gamm
in R as one but unsure of how I would go about using it.
In R, the code I have been using to analyze my data is:
model <- lmer(Measurement ~ Treatment * Time + (1|Family), data=mirnadata)
and this has been working great until I encountered non-parametric data (i.e., residuals are not normally distributed, which is an assumption of the lme). So essentially, I want to do the same analysis on non-parametric data but unsure of how, or even if that's even possible.
The response variable is measurement, which is a continuous variable. Treatment is a categorical variable with 2 levels, and time is a categorical variable with 3 levels. Family is my random effect, and it has 5 levels. This is the code my labmate helped me build and while it works, I don't know if it is correct:
m2 <- gamm(Measurement ~ Treatment * Time, random=list(Family=~1),data=mirnadata)
summary(m2$lme)