BookmarkSubscribeRSS Feed
davidwang1999
Calcite | Level 5

Hi

I am using Enterprise Miner 14.3

Is there a node for linear discriminant analysis?

 

I saw an old post but it seems that using the code is the only option.

thank you

2 REPLIES 2
DougWielenga
SAS Employee

Logistic Regression is usually preferred to Linear Discriminant Analysis for a variety of reasons including...

... Linear Discriminant Analysis prefers interval level multivariate normal inputs with identical within-group covariance matrices 

... Linear Discriminant Analysis is sensitive to outliers and prefers groups to have a similar size

... Linear Discrimant Analysis often classifies better than Logistic Regression if all the requirements are met but Logistic Regression is more robust when they are not

 

Consider that data mining problems typically involve large numbers of both numeric and categorical data, many with missing values, and virtually no chance of even the interval variables being multivariate normal and you see why it was not featured in SAS Enterprise Miner.   You can, of course, run any of the SAS/STAT procedures in a SAS Code node but this is just using SAS Enterprise Miner to run Base SAS.  Coding can become simpler in a SAS Code Node in SAS Enterprise Miner in some cases since you specify inputs based on macro variables defined for the different types of input, but this still requires you to set-up the metadata about your inputs in a prior node.  

 

Hope this helps!

Doug

davidwang1999
Calcite | Level 5

thank you for your response

 

I am trying to ask my class to compare logistic regression and discriminant analysis so the differences among models as you mentioned in your response can be highlighted.

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!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1178 views
  • 0 likes
  • 2 in conversation