BookmarkSubscribeRSS Feed
ANKH1
Pyrite | Level 9

Hello, 

 

I want to report degrees of freedom for the F value from the output of PROC MIXED and PROC GLIMMIX. What should I report since the output only includes degrees of freedom for numerators and denominators?

 

Thanks in advance for your help, 

 

D

10 REPLIES 10
PaigeMiller
Diamond | Level 26

@ANKH1 wrote:

Hello, 

 

I want to report degrees of freedom for the F value from the output of PROC MIXED and PROC GLIMMIX. What should I report since the output only includes degrees of freedom for numerators and denominators?

 


I believe this represents a mis-understanding on your part.

 

There is no such thing as a single "degrees of freedom for the F value". All F-values have both numerator and denominator degrees of freedom.

--
Paige Miller
ANKH1
Pyrite | Level 9

Thanks for responding. But what degrees of freedom do you report with your F value? Given that our model is a two way repeated measures design? 

 

PaigeMiller
Diamond | Level 26

 

There is no such thing as a single "degrees of freedom for the F value". All F-values have both numerator and denominator degrees of freedom.

You report both the numerator and denominator degrees of freedom

--
Paige Miller
ANKH1
Pyrite | Level 9

Hello, 

 

I have been told that when you report the F value you have to include df. This is an example from SPSS:Capture.PNG

For example you report the main effect of SRA as F(2, 1276) = 6.11, p = .002, ηp2 = .009. 

SAS output only gives df for numerator and denominator. The first df is referring to the levels of the variable but the second is referring to the df of the error and the SAS output I get doesn't provide it. Do you know how can I get it?

Thanks!

 

PaigeMiller
Diamond | Level 26

I guess I don't understand the relevance of an SPSS output to PROC MIXED.

 

Did you actually produce the output from PROC MIXED? This is an example PROC MIXED output which clearly produces numerator and denominator degrees of freedom: https://documentation.sas.com/?docsetId=statug&docsetTarget=statug_mixed_examples01.htm&docsetVersio...

--
Paige Miller
ANKH1
Pyrite | Level 9

Yes, I get that output from PROC MIXED but my issue is that reviewers ask to report  F (df1, df2), p-value. The first df I get is the df for the numerator but the df2 is for the error which is not given in the SAS output. Do you know how to obtain the df for the error in SAS?

PaigeMiller
Diamond | Level 26

I guess we're not communicating. That example shows both numerator and denominator DF for the F-test. I don't understand why you say it doesn't.

--
Paige Miller
ANKH1
Pyrite | Level 9

Sorry I haven't been clear. The degrees of freedom I am looking for to report are the df from the error not the numerator or denominator. 

PaigeMiller
Diamond | Level 26

DF for error is the same (different words, that's all) as DF for denominator

--
Paige Miller
ANKH1
Pyrite | Level 9

Oh, I did not know that. Thanks for the clarification and your help! 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 10 replies
  • 2188 views
  • 4 likes
  • 2 in conversation