The green lines are the "real" model that I simulated data from, with individual effects. The red line is the new mixed model, but I haven't figured out how to extract the individual effects from lme4 and add them to the graph curves yet. And the black line is what happens when you have individual effects, but only one year.
Today I'm going to figure out how to get individual effects out of glmer (oops, lme4 above was a mistake) models and graph them.
sciencing! phenology + treesex Show more
I also want to try updating my hierarchical bayesian model that I'm doing with stan via the rethinking package and running the simulated data through it.