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.
Regards,
Amit
Proc logistics data=train;
model target (event = '1') = var1 var2 var3;
score data= validate out=Scored fitstat;
run;
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 . 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.
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.