changes to mixed-effects example and inclusion of pdf