SlideShare a Scribd company logo
1 of 22
Discriminant functionanalysis(DFA) in R
Presented by
Priya dharshan
What is discriminant function analysis?
 DAis a statistical method
 Used by researches to help them understand the relationship between a
“dependent variable” & one/ more “independent variables”.
 DAis similar to regression analysis (RA) & analysis of variance (ANOVA)
 DFA is useful in determining whether a set of variables is effective in
predicting category membership.
What are discriminant functions?
Discriminant analysis works by creating one or more linear combinations
of predictors, creating a new latent variable for each function. These
functions are called as “discriminant functions”.
Why do we use DA?
 DA has various benefits as a statistical tool and is quite similar to
regression analysis.
 It can be used to determine which predictor variables are related to the
dependant variable and to predict the value of the dependant variable given
certain values of the predictor Variables.
When to use DA
 Data must be from different groups. Membership of group should be
already known before the starting analysis.
 It is used for the analysis of differences in groups.
 It is used for classification of new objects.
Purposeof DA
The objective of DA is to develop discriminant functions that are nothing
but the linear combination of independent variables that will discriminate
between the categories of the dependent variable in a perfect manner.
Basics of DFA
Discriminating variables (predictors):
independent variables which construct a discriminant function
Dependent variable (criterion variable):
 Object of classification on the basis of independent variables
 Needs to be categorical
 Known as grouping variables in SPSS.
Steps in analysis
Step 1
The
independent
variables
which have
the
discriminati
ng power
are being
chosen
Step 2
A
discriminant
function
model is
developed by
using the
coefficients of
independent
variables.
Step 3
Wilk’s
lambda is
computed for
testing the
significance
of
discriminant
function
Step 4
The
independent
variables
which possess
importance in
discriminatin
g the groups
are being
found
Step 5
Classificatio
n of subjects
to their
respective
group is
being made
DA in R programming
DFA (2 groups)
library(dplyr)
library(haven)
library(ggplot2)
mydat <- read_sav("C:/Users/cpflower/Dropbox (UNC
Charlotte)/RSCH8140/R/DFA/pope.sav")
View(mydat)
scatterplotMatrix(mydat[2:4])
install.packages("DFA.data")
library(DFA.data)
DFA(data=mydat, groups="gp", variables=c('wi', 'wc', 'pc'),
predictive=TRUE, prior='SIZES', verbose=TRUE)
Discriminant Analysis model
The DAM involves linear combinations of the following form;
D= b₀ + b₁x₁ + b₂x₂ + b₃x₃ +….+ bĸXĸ
Where ,
D = discriminant score
b’s = discriminant coefficient / weight
x’s = predictor/ independent variable
• The coefficient / weights, are estimated so that the groups differ as much as
possible on the values of the discriminant function.
• DA– creates an equation which will minimize the possibility of misclassifying
cases into their respective groups / categories.
Hypothesis
• DAtests the following hypotheses;
• H₀: the group means of a set of independent variables for two /more groups
are equal.
• H₁: the group means for two/ more groups are not equal.
• Here, this group means is referred to as a centroid.
1) Linear Discriminant Analysis
• Alinear combination of features
• Ronald Fishers in 1936
• This methods group images of the same classes & separates images of the
different classes.
• To identify an input test image, the projected test image is compared to each
projected training image, & the test image is identified as the closest training
image.
• This classification involving 2 target categories & 2 predictor variables.
• Images are projected from 2D spaces to C dimensional space, where C is the
no. of classes of the images.
How does LDA work?
Step 1:
• To calculate the seperability between
different classes also called as
between – class variance.
Step 2:
• To calculate the distance between the
mean & sample of each class, is
called the within class variance.
step 3:
• To construct the lower dimensional
space which maximizes the between
class variance & minimizes the within
class variance.
LDA
2) Multiple Discriminant analysis
• To discriminate among more than 2 groups
• It requires g-1 no. of discriminant functions, where g is the no. of groups
• The best discriminant will be judged as per the comparison between
functions.
• Similar to multiple regression
• assumptions remain same.
Assumptions in DA
Assumptions:
• Apredictors are normally distributed
• The variance covariance matrices for the predictors within each of the
groups are equal.
 Sample size
 Normal distribution
 Homogenecity of variance/covariances
 Outliers
 Non- multicollinearity
 Mutually exclusive
 Classification
 Variability
Advantages
 Discrimination of different groups
 Accuracy of classification groups can be determined
 Helps for categorical regression analysis
 Visual graphics makes clear & understanding 2/ more categories.
Limitations
 LD can’t be used when subgroups are stronger.
 Predictor variables don’t strong.
 It can’t be used when there is insufficient data
 It was not usable to less no. of observation
 Small distribution gives good discriminant functions between groups.
 Large distribution gives poor discriminant functions between groups.
Applications
 Prediction & description DA
 Agriculture, fisheries, crop & yield studies, geoinformatics, bioinformatics, social
sciences, researches.
 Socio economics
 Hydrological & physico-chemical studies in water sources
 Face recognition
 Marketing
 Financial research
 Human resources
Thank you….,

More Related Content

Similar to R studio.pptx

Similar to R studio.pptx (20)

Discriminant Analysis in Sports
Discriminant Analysis in SportsDiscriminant Analysis in Sports
Discriminant Analysis in Sports
 
discriminant analysis
discriminant analysisdiscriminant analysis
discriminant analysis
 
Discriminant analysis
Discriminant analysisDiscriminant analysis
Discriminant analysis
 
Discriminant analysis
Discriminant analysisDiscriminant analysis
Discriminant analysis
 
simple discriminant
simple discriminantsimple discriminant
simple discriminant
 
diiscriminant analysis1.pptx
diiscriminant analysis1.pptxdiiscriminant analysis1.pptx
diiscriminant analysis1.pptx
 
Machine learning Mind Map
Machine learning Mind MapMachine learning Mind Map
Machine learning Mind Map
 
Discriminant analysis.pptx
Discriminant analysis.pptxDiscriminant analysis.pptx
Discriminant analysis.pptx
 
Discriminant analysis
Discriminant analysisDiscriminant analysis
Discriminant analysis
 
Chapter 11 KNN Naive Bayes and LDA.pptx
Chapter 11 KNN  Naive Bayes and LDA.pptxChapter 11 KNN  Naive Bayes and LDA.pptx
Chapter 11 KNN Naive Bayes and LDA.pptx
 
Discriminant analysis
Discriminant analysisDiscriminant analysis
Discriminant analysis
 
Discriminant Analysis
Discriminant AnalysisDiscriminant Analysis
Discriminant Analysis
 
EDA by Sastry.pptx
EDA by Sastry.pptxEDA by Sastry.pptx
EDA by Sastry.pptx
 
Singular Value Decomposition (SVD).pptx
Singular Value Decomposition (SVD).pptxSingular Value Decomposition (SVD).pptx
Singular Value Decomposition (SVD).pptx
 
EDAB Module 5 Singular Value Decomposition (SVD).pptx
EDAB Module 5 Singular Value Decomposition (SVD).pptxEDAB Module 5 Singular Value Decomposition (SVD).pptx
EDAB Module 5 Singular Value Decomposition (SVD).pptx
 
Discriminant analysis using spss
Discriminant analysis using spssDiscriminant analysis using spss
Discriminant analysis using spss
 
Kinds Of Variable
Kinds Of VariableKinds Of Variable
Kinds Of Variable
 
Cluster analysis
Cluster analysisCluster analysis
Cluster analysis
 
PythonML.pptx
PythonML.pptxPythonML.pptx
PythonML.pptx
 
Discriminant analysis-Business Intelligence tool
Discriminant analysis-Business Intelligence toolDiscriminant analysis-Business Intelligence tool
Discriminant analysis-Business Intelligence tool
 

More from PriyadharshanBobby (13)

autocorrelation.pptx
autocorrelation.pptxautocorrelation.pptx
autocorrelation.pptx
 
com.pptx
com.pptxcom.pptx
com.pptx
 
BUDJET 23.pptx
BUDJET 23.pptxBUDJET 23.pptx
BUDJET 23.pptx
 
AEC502-1.
AEC502-1.AEC502-1.
AEC502-1.
 
ENGLISH.pptx
ENGLISH.pptxENGLISH.pptx
ENGLISH.pptx
 
Ethics.pptx
Ethics.pptxEthics.pptx
Ethics.pptx
 
Ethics.pptx
Ethics.pptxEthics.pptx
Ethics.pptx
 
Presentation-WPS Office-1.pptx
Presentation-WPS Office-1.pptxPresentation-WPS Office-1.pptx
Presentation-WPS Office-1.pptx
 
arrowsimpossibilitytheorem-220603081823-4733ec7f (1).pptx
arrowsimpossibilitytheorem-220603081823-4733ec7f (1).pptxarrowsimpossibilitytheorem-220603081823-4733ec7f (1).pptx
arrowsimpossibilitytheorem-220603081823-4733ec7f (1).pptx
 
IPR-Patent.pptx
IPR-Patent.pptxIPR-Patent.pptx
IPR-Patent.pptx
 
NR forestry.pptx
NR forestry.pptxNR forestry.pptx
NR forestry.pptx
 
NR kurznets curve.pptx
NR kurznets curve.pptxNR kurznets curve.pptx
NR kurznets curve.pptx
 
MARKETING value chain.pptx
MARKETING value chain.pptxMARKETING value chain.pptx
MARKETING value chain.pptx
 

Recently uploaded

Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...ThinkInnovation
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024thyngster
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAbdelrhman abooda
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home ServiceSapana Sha
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 

Recently uploaded (20)

Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 

R studio.pptx

  • 1. Discriminant functionanalysis(DFA) in R Presented by Priya dharshan
  • 2.
  • 3. What is discriminant function analysis?  DAis a statistical method  Used by researches to help them understand the relationship between a “dependent variable” & one/ more “independent variables”.  DAis similar to regression analysis (RA) & analysis of variance (ANOVA)  DFA is useful in determining whether a set of variables is effective in predicting category membership.
  • 4. What are discriminant functions? Discriminant analysis works by creating one or more linear combinations of predictors, creating a new latent variable for each function. These functions are called as “discriminant functions”.
  • 5. Why do we use DA?  DA has various benefits as a statistical tool and is quite similar to regression analysis.  It can be used to determine which predictor variables are related to the dependant variable and to predict the value of the dependant variable given certain values of the predictor Variables.
  • 6. When to use DA  Data must be from different groups. Membership of group should be already known before the starting analysis.  It is used for the analysis of differences in groups.  It is used for classification of new objects.
  • 7. Purposeof DA The objective of DA is to develop discriminant functions that are nothing but the linear combination of independent variables that will discriminate between the categories of the dependent variable in a perfect manner.
  • 8. Basics of DFA Discriminating variables (predictors): independent variables which construct a discriminant function Dependent variable (criterion variable):  Object of classification on the basis of independent variables  Needs to be categorical  Known as grouping variables in SPSS.
  • 9. Steps in analysis Step 1 The independent variables which have the discriminati ng power are being chosen Step 2 A discriminant function model is developed by using the coefficients of independent variables. Step 3 Wilk’s lambda is computed for testing the significance of discriminant function Step 4 The independent variables which possess importance in discriminatin g the groups are being found Step 5 Classificatio n of subjects to their respective group is being made
  • 10. DA in R programming DFA (2 groups) library(dplyr) library(haven) library(ggplot2) mydat <- read_sav("C:/Users/cpflower/Dropbox (UNC Charlotte)/RSCH8140/R/DFA/pope.sav") View(mydat) scatterplotMatrix(mydat[2:4]) install.packages("DFA.data") library(DFA.data) DFA(data=mydat, groups="gp", variables=c('wi', 'wc', 'pc'), predictive=TRUE, prior='SIZES', verbose=TRUE)
  • 11. Discriminant Analysis model The DAM involves linear combinations of the following form; D= b₀ + b₁x₁ + b₂x₂ + b₃x₃ +….+ bĸXĸ Where , D = discriminant score b’s = discriminant coefficient / weight x’s = predictor/ independent variable • The coefficient / weights, are estimated so that the groups differ as much as possible on the values of the discriminant function. • DA– creates an equation which will minimize the possibility of misclassifying cases into their respective groups / categories.
  • 12. Hypothesis • DAtests the following hypotheses; • H₀: the group means of a set of independent variables for two /more groups are equal. • H₁: the group means for two/ more groups are not equal. • Here, this group means is referred to as a centroid.
  • 13.
  • 14. 1) Linear Discriminant Analysis • Alinear combination of features • Ronald Fishers in 1936 • This methods group images of the same classes & separates images of the different classes. • To identify an input test image, the projected test image is compared to each projected training image, & the test image is identified as the closest training image. • This classification involving 2 target categories & 2 predictor variables. • Images are projected from 2D spaces to C dimensional space, where C is the no. of classes of the images.
  • 15. How does LDA work? Step 1: • To calculate the seperability between different classes also called as between – class variance. Step 2: • To calculate the distance between the mean & sample of each class, is called the within class variance. step 3: • To construct the lower dimensional space which maximizes the between class variance & minimizes the within class variance.
  • 16. LDA
  • 17. 2) Multiple Discriminant analysis • To discriminate among more than 2 groups • It requires g-1 no. of discriminant functions, where g is the no. of groups • The best discriminant will be judged as per the comparison between functions. • Similar to multiple regression • assumptions remain same.
  • 18. Assumptions in DA Assumptions: • Apredictors are normally distributed • The variance covariance matrices for the predictors within each of the groups are equal.  Sample size  Normal distribution  Homogenecity of variance/covariances  Outliers  Non- multicollinearity  Mutually exclusive  Classification  Variability
  • 19. Advantages  Discrimination of different groups  Accuracy of classification groups can be determined  Helps for categorical regression analysis  Visual graphics makes clear & understanding 2/ more categories.
  • 20. Limitations  LD can’t be used when subgroups are stronger.  Predictor variables don’t strong.  It can’t be used when there is insufficient data  It was not usable to less no. of observation  Small distribution gives good discriminant functions between groups.  Large distribution gives poor discriminant functions between groups.
  • 21. Applications  Prediction & description DA  Agriculture, fisheries, crop & yield studies, geoinformatics, bioinformatics, social sciences, researches.  Socio economics  Hydrological & physico-chemical studies in water sources  Face recognition  Marketing  Financial research  Human resources