BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
bhr-q
Pyrite | Level 9

Hello all,

I have an independent categorical variable named "pre_score" with 6 categories (fit, mild, moderate, very mild, managing fit, very fit) and a few confounders named (age, sex, neoro).

As shown in the attached screenshot, The overall F test in the first table is significant, and the F- test corresponding to pre_score in the second table ( source table ) is not significant, however one of the categories of pre-score in the last table is significant,

 

I'm unsure why this happen?

 I was expected as the F-test corresponding to pre_score is not significant, there shouldn’t be any significant one for any categories of pre-score in the last table,  or

 if there are any significant categories like my example, I would expect the corresponding  F-test to be significant as well.

 

proc glm data=tmp  PLOTS=DIAGNOSTICS ; 
class pre_score neuro sex;
model diff=pre_score age neuro sex/solution ss3;
run;

 

any input appreciated,

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User
Yeah. Still normal.
As I said " Overall F test " is for total data,that means the explained variance of Y by all the X variables is not significant.
a.k.a your model is not right or not specified rightly.

"very mild" variable is significant is under the assumption the model is right (" Overall F test " is significant).
this vaiable is significant does not mean " Overall F test " is significant (this vaiable's explained variance maybe be swallow or uniform by other variable).

In summary, once " Overall F test " is NOT significant, the parameter estimated is nonsense at all.

Or @StatDave_SAS maybe give you a hand.

View solution in original post

3 REPLIES 3
Ksharp
Super User
That is a normal phenomemon .

"The overall F test in the first table is significant, "
is for the whole model . Any model would expect to significant ,unless this model is not specified right.

“and the F- test corresponding to pre_score in the second table ( source table ) is not significant, ”
is for the whole variable.

"however one of the categories of pre-score in the last table is significant,"
That is also normal. Since this variable is splited to many columns in design matrix according to its levels.
You can not expect this variable is significant once one of its level/coloum is significant.
bhr-q
Pyrite | Level 9

Thank you so much for your help. I tried to run the model without any confounder, and I have the attached screenshot for that; is that still a normal phenomenon?

 

As shown, The Overall F test is not significant, but Pairwise Comparisons show that there are a few significant differences b/n specific pairs of groups,  

 I was thinking as the overall F-test is not significant, there shouldn’t be any significant pairwise comparisons.

Conversely, if there are significant pairwise comparisons, one would expect the overall F-test to be significant, but as you mentioned above, my understanding is incorrect.

 

Thanks,

 

 

Ksharp
Super User
Yeah. Still normal.
As I said " Overall F test " is for total data,that means the explained variance of Y by all the X variables is not significant.
a.k.a your model is not right or not specified rightly.

"very mild" variable is significant is under the assumption the model is right (" Overall F test " is significant).
this vaiable is significant does not mean " Overall F test " is significant (this vaiable's explained variance maybe be swallow or uniform by other variable).

In summary, once " Overall F test " is NOT significant, the parameter estimated is nonsense at all.

Or @StatDave_SAS maybe give you a hand.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 501 views
  • 2 likes
  • 2 in conversation