Quartz | Level 8

## Degrees of freedom in PROC MIXED and PROC GLIMMIX

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?

D

10 REPLIES 10
Diamond | Level 26

## Re: Degrees of freedom in PROC MIXED and PROC GLIMMIX

@SanKH1 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
Quartz | Level 8

## Re: Degrees of freedom in PROC MIXED and PROC GLIMMIX

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?

Diamond | Level 26

## Re: Degrees of freedom in PROC MIXED and PROC GLIMMIX

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
Quartz | Level 8

## Re: Degrees of freedom in PROC MIXED and PROC GLIMMIX

Hello,

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

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!

Diamond | Level 26

## Re: Degrees of freedom in PROC MIXED and PROC GLIMMIX

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
Quartz | Level 8

## Re: Degrees of freedom in PROC MIXED and PROC GLIMMIX

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?

Diamond | Level 26

## Re: Degrees of freedom in PROC MIXED and PROC GLIMMIX

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
Quartz | Level 8

## Re: Degrees of freedom in PROC MIXED and PROC GLIMMIX

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.

Diamond | Level 26

## Re: Degrees of freedom in PROC MIXED and PROC GLIMMIX

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

--
Paige Miller
Quartz | Level 8

## Re: Degrees of freedom in PROC MIXED and PROC GLIMMIX

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

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