New SAS User

Completely new to SAS or trying something new with SAS? Post here for help getting started.
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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 1155 views
  • 0 likes
  • 3 in conversation