BookmarkSubscribeRSS Feed
Fluorite | Level 6

Hi all,

            can anyone explain the Misclassification (error) rate statistics we get when we use fitstat option in score statement in proc logistics. I looked up the documentation but could not understand it.

            I appreciate all your help.



  Proc logistics data=train;

     model target (event = '1') = var1 var2 var3;

    score data= validate out=Scored fitstat;


Pyrite | Level 9

Hello, there. It has been many years since you raised the question. I wonder if that problem has been solved right now. I am also building a logistic regression model and has been working on the issue of misclassification error for some time. As SAS Help shows, the formula of misclassification rate is Season_0-1681641202041.png. Simply speaking, according to this formula, the proportion of observations that were misclassified is designated as the misclassification rate. In SAS Help, it is stated that an observation is classified into the level with the largest probability.

For instance, suppose the dependent variable has two levels, 0 and 1. If P(Y=1) (posterior probability) of an observation is not smaller than P(Y=0) (posterior probability), then SAS deems that according to the model, the event coded by Y=1 happens to the observation; and vice versa.



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg



Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 1 reply
  • 2 in conversation