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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 2600 views
  • 3 likes
  • 3 in conversation