Output LSMEANS and MODEL p-value from PROC GLM

Reply
Regular Learner
Posts: 1

Output LSMEANS and MODEL p-value from PROC GLM

How can I output datasets of just the LSMEANS and p-value from the model when using PROC GLM?

 

Here is the code I am using.

proc glm data=base ;
    class Trial_Group ;
    model Rpt_24 = Trial_Group tenure ;
    lsmeans TRIAL_GROUP ;
    run ;

 

Using SAS 9.3

Respected Advisor
Posts: 3,786

Re: Output LSMEANS and MODEL p-value from PROC GLM

ods output LSMEANS=sas-data-set;
Ask a Question
Discussion stats
  • 1 reply
  • 289 views
  • 1 like
  • 2 in conversation