Programming the statistical procedures from SAS

ODS Table Output for PROC GLM and LSMEANS

Reply
New Contributor
Posts: 2

ODS Table Output for PROC GLM and LSMEANS

[ Edited ]

Hi

 

May you please assist, from the below syntax for an augumented design

 

Proc glm;

Class blk X C;
Model NP NE MOI FW GW GLS PLS HM1 MSV GDS =  blk C X(C);
RANDOM BLK/TEST;
lsMEANS C X(C)/STDERR;
RUN;
 
i am getting no-est for the LS mean
Super User
Posts: 9,779

Re: ODS Table Output for PROC GLM and LSMEANS


Try :

Model NP NE MOI FW GW GLS PLS HM1 MSV GDS =  blk C X(C) / solution ;

New Contributor
Posts: 2

Re: ODS Table Output for PROC GLM and LSMEANS

Hi Esteemed

The output that came out has anova tables that do not have F-values and P>F. There is also no values for Coeff var and root MSE. For the estimates there are also no value for sterror, t Value and Pr >/t/. The LSmean is still Non-est. May you please assist again.
Respected Advisor
Posts: 2,655

Re: ODS Table Output for PROC GLM and LSMEANS

The non-estimability is almost certainly due to empty cells.  You are fitting C and X*C, and if every level of C is not "connected" for every level of X, then C cannot be estimated at the levels where connection doesn't happen.  See the documentation regarding estimable functions for more depth on this.  As a way to check this, add this statement to your GLM:

 

MEANS X(C);

 

and look for missing cells.

 

Steve Denham

Ask a Question
Discussion stats
  • 3 replies
  • 202 views
  • 0 likes
  • 3 in conversation