Hi, I am conducting comparative interrupted time series with fixed effects analysis. Basically I am trying to model the pre-post difference for each entity and to test whether the pre-post difference is significant depending on the group(which I call D1 below) that the entity belongs to. This is what I've tried so far using proc glm: PROC GLM; ABSORB entity;
MODEL Y = year post yearXpost D1 yearXD1 postXD1 yearXpostXD1;
TEST1: test post + yearXpost + postXD1 + postXyearXD1 =0;
RUN; [SAS Version 9.4] Q1: Is proc glm or proc mixed more suitable for conducting fixed effects analysis? Is this considered repeated measures since year is already modelled? Q2: How do I conduct the test of linear combinations using either procedure? I know that stata calls it LINCOM, and for normal regression, TEST does it within SAS, but not sure how to do this for fixed effects using either of the procedures above... Thank you very much!
... View more