Hi All, i am facing a small issue while using proc mixed please any one can help me out from this.. treatment groups : trt1, trt2, trt3, placebo = total 4 treatments visits: day1, day 5, day10, day15, day20, day25, day30,= total 7 visits Ex: Template or shell Table tiltel - Eff1 Model - adjusted Treatment difference covariate Estimate 95% CI --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Trt 1 Vs placebo Age Group <80 XX.XX XX.X, XX.X >=80 XX.XX XX.X, XX.X Trt 2 Vs placebo Age Group <80 XX.XX XX.X, XX.X >=80 XX.XX XX.X, XX.X Trt 3 Vs placebo Age Group <80 XXX.XX XX.X, XX.X >=80 XX.XX XX.X, XX.X Note: Repeat the same shell for rest of the parameters. i used code for this shell Eff1 proc mixed data=dataset; class subj trt covariate visit; model chg= baselinevalue trt visit covariate trt*visit trt*covariate covariate*visit trt*visit*covariate/ddfm=kr cl; repeated avisit/type=UN sub=subj; lsmeans trt*visit*covariate/diff cl; run; My question is how to use the above code to following shell/Mock: Table 2: XXXXX (EFF_2) Covariate Model-adjusted Treatment Difference 95% CI ( Totla Treatment XXX Vs Placebo) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Age Group <80 XX.XX XX.X, XX.X >=80 XX.XX XX.X, XX.X sex Male XX.XX XX.X, XX.X Female XX.XX XX.X, XX.X . . . . Thanks in advance.
... View more