Hi, I would like to rearrange only the estimates and standard errors given by the Stat.Glimmix.LSMeans template as depicted below. trt Least Squares Means (original) trt estimate standard error etc 1 2.5 0.32 etc 2 2 0.32 etc trt Least Squares Means (goal) 1 2 estimate stderr estimate stderr 2.5 0.32 2 0.32 Initially, I thought learning how to use PROC TEMPLATE would solve my problem. After spending the time to understand how PROC TEMPLATE works, I realized that I need to have the estimates and standard errors in a dataset first, at least that's what I think I need to do first. I tried using output with pred and stderr in my Glimmix procedure, but that did not give me the above values in the output dataset I created. Then, I read about ODS TRACE in a thread here and learned about Stat.Glimmix.LSMeans and its parent Stat.Glimmix.tTests. This is where I am not sure how to proceed. Am I heading in the right direction? Or, am I unaware of another more efficient way to achieve my goal? Thank you!
... View more