runehaubo / lmerTestR

Repository for the R-package lmerTest
48 stars 9 forks source link

LS Mean - Overall Estimate? #54

Open ApexHeel opened 6 months ago

ApexHeel commented 6 months ago

When asking SAS for the ls mean estimates from a mixed model, it provides an "overall" value. In the R package documentation it says "A flat (i.e. unweighted) average is taken which gives equal weight to all levels of each of the other factors" but when I request the ls_means(model) I only get the estimates from the factors and not overall.

Am I missing something (i.e., an option)? If not, is there a way to get the overall estimate similar to SAS?

Thanks!