Hello,

I have data with workers within departments. I am interested in testing the
effects of peers' satisfaction on employees' productivity. To assess peer
satisfaction, I calculate, for each employee, the average satisfaction of
the employees' peers within the department. In other words, I calculate the
average satisfaction in the department, while excluding the focal employee.
I'm not sure about the level of this variable, because on the one hand, it
is unique for each employee, but on the other hand, the values of this
variable across employees are not independent of each other. How would I
account for this issue in R?

Thank you,

S Weaver

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to