BookmarkSubscribeRSS Feed
fdehkord
Obsidian | Level 7

Hello,

I am new to Proc GLM and would appreciate help answering the following question.

I have fitted an ANCOVA model with covariate X (continuous) and two factors A and B (each with two Levels). The relationship between Y (the continuous response variable) and X is not linear therefore I have included a quadratic term for X in the model and included the interaction term x*A*B in the model as well. 

The type III F-test is significant for Factor A but not significant for factor B. The interaction term X*A*B is statistically significant and x and x2 are also significant.

The LSMEANS test for Factor A is not significant while it is significant for factor B ( the opposite of Type III F-test).

Why is this?  

5 REPLIES 5
PaigeMiller
Diamond | Level 26

Show us the output from your PROC GLM. Use the "Insert Photos" icon to include a screen capture of your output in your reply — do not attach files.

--
Paige Miller
Rick_SAS
SAS Super FREQ

Interpreting higher-order interactions can be a challenge if you have not included the lower-order interactions. Have you also included the second-order interactions x*A, x*B, and A*B?  Show use your GLM code.

fdehkord
Obsidian | Level 7
I did include the lower-order terms and still have the same problem.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 523 views
  • 0 likes
  • 3 in conversation