BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
KafeelBasha
Quartz | Level 8

Hello

 

In proc logistic output how the 'DF' column has 1 degrees of freedom for each independent variable.

 

Is there any formula?. Please help.

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

Each PARAMETER requires 1 DF, but a classification variable that has k levels requires k-1 DF.  For example, if a classification variable has the values 'A', 'B', and 'C', that variable uses two DF.

View solution in original post

4 REPLIES 4
PeterClemmensen
Tourmaline | Level 20

Each ML estimate in Proc Logistic is free to vary, therefore it has 1 degree of freedom (itself).

 

If you look in the "Deviance and Pearson Goodness-of-Fit Statistics" you will see that the value in the DF column is the sum of the degrees of freedom in the individual estimates.

KafeelBasha
Quartz | Level 8

Can you please suggest some reference book, I didn't get it exactly.

PeterClemmensen
Tourmaline | Level 20

A reference book on PROC LOGISTIC or to Basic Statistics?

 

In regards to PROC LOGISTIC, I recommend Proc Logistic Using SAS by Paul D Allison

 

A good introduction to statistics in SAS is SAS Statistics by Example by Ron Cody

Rick_SAS
SAS Super FREQ

Each PARAMETER requires 1 DF, but a classification variable that has k levels requires k-1 DF.  For example, if a classification variable has the values 'A', 'B', and 'C', that variable uses two DF.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

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
  • 4 replies
  • 3074 views
  • 3 likes
  • 3 in conversation