SAS Procedures

Help using Base SAS procedures
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-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!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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