I have a data set with an exponentially distributed outcome variable (it also includes values of zero). Is there a way to fit a linear mixed model to this data? And does anyone know how to do this in the lme4 package in R?
You can do this using the glmer function. The family should be Gamma. You will get the summary of the exponential model setting the argument dispersion=1 in the summary function (the gamma distribution with dispersion parameter fixed at 1 is the exponential distribution). If you don't fix the dispersion, the MLE is used.