Hi Everyone, I would like to check some of my understandings with Proc Glimmix. In summary, I have 20 animals split in 2 groups (treated and control = TRT effect (0 or 1) and I measured the concentration of moleculeX (continuous variable) in different location in the gut (colon, jejunum, ileum...=Location effect) My questions are the following: Does the treatment impact the overall concentration of moleculeX? Is the impact of treatment different between locations? I used the following code: proc glimmix data=IgADMgut; CLASS Animal TRT Location; MODEL MoleculeX= TRT Location TRT*Location / ddfm=kr solution; random _residual_ / subject = Animal(TRT) type=cs; lsmeans TRT Location TRT*Location / cl slicediff=Location pdiff=all diff lines adjust=simulate adjust=bon plot=meanplot (join sliceby=TRT); run; Could you first verify that my code is correct? Then I have a question concerning the outputs. I have a significant interaction of TRT*Location; meaning that the effect of TRT depends on the Location. Type III Tests of Fixed Effects Effect Num DF Den DF F Value Pr > F TRT 1 18 41.18 <.0001 Location 2 36 103.48 <.0001 TRT*Location 2 36 12.12 <.0001 Then, can I look at the LSmeans of simple effect of TRT*Location and the AdjustPvalues state about the effect of TRT for each location? (here only significant in ileum and colon) Simple Effect Comparisons of TRT*Location Least Squares Means By Location Adjustment for Multiple Comparisons: Simulated Simple Effect Level TRT TRT Estimate Standard Error DF t Value Pr > |t| Adj P Alpha Lower Upper Adj Lower Adj Upper Location Colon 0 1 -0.8560 0.1403 53.44 -6.10 <.0001 <.0001 0.05 -1.1373 -0.5746 -1.1408 -0.5712 Location Jejunum 0 1 -0.01370 0.1403 53.44 -0.10 0.9226 0.9230 0.05 -0.2951 0.2677 -0.2922 0.2648 Location Ileum 0 1 -0.7986 0.1403 53.44 -5.69 <.0001 <.0001 0.05 -1.0799 -0.5172 -1.0861 -0.5110 I do not get why the SE in this table is always the same? Where and how can I get the correct SE for each treatment by location ? Many thanks in advance for your help, Nicheca
... View more