While the lsmestimate statement will run, I don't think it is quite what you want, as the 'all home' coefficients and "all away" coefficients sum to 1.2. Try: lsmestimate site*pop '"all home" vs "all away" (mean) ' 5 -1 -1 -1 -1 -1 -1 5 -1 -1 -1 -1 -1 -1 5 -1 -1 -1 -1 -1 -1 5 -1 -1 -1 -1 -1 -1 5 -1 -1 -1 -1 -1 -1 5 / CL divisor=30; Steve Denham
... View more