March 2019
Beginner to intermediate
448 pages
13h 14m
English
In the following example, we will work with a mixed effects model, containing data for some clients. We have 100 observations with 50 subjects and several replications per subject. Each client is contacted each time by a salesman using a variety of communication strategies (this is the fixed effect we are interested in).
The target variable is the amount sold, and we want to understand whether there are differences that are attributable to the different communication strategies. If that is the case, we want to implement the best communication strategy as the main one for the entirety of the sales team:
library(lme4)library(lmerTest)library(lsmeans)
Read now
Unlock full access