0% found this document useful (0 votes)
3 views2 pages

Tutorial 6

The document outlines a tutorial on Discriminant Function Analysis (DFA) with specific questions and tasks related to the analysis of a dataset. It includes inquiries about the goals of DFA, its relationship with MANOVA, and the calculation of prior probabilities. Additionally, it provides instructions for performing DFA on a dataset to classify individuals by species and sex, along with analysis and interpretation of results.

Uploaded by

jo.lamarca.13
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Tutorial 6

The document outlines a tutorial on Discriminant Function Analysis (DFA) with specific questions and tasks related to the analysis of a dataset. It includes inquiries about the goals of DFA, its relationship with MANOVA, and the calculation of prior probabilities. Additionally, it provides instructions for performing DFA on a dataset to classify individuals by species and sex, along with analysis and interpretation of results.

Uploaded by

jo.lamarca.13
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Topic 6 (DFA) - Tutorial

Question 1:
a). What is the goal of DFA?

b). Describe the relationship between DFA and MANOVA.

c). How many DFs are produced through DFA?

d). Unless otherwise stated in the model, how are prior probabilities calculated? What is their relationship
to the posterior probabilities?

Question 2:
Complete exercise 1 at the end of Chapter 8 of Manly using the dataset ‘[Link]’. As well as
classifying individuals by species as stated in Manly, repeat the analysis to classify by sex.
a). Read in the dataset and check the structure. If there are more than 20 individuals in each of the sex or
species groups to be classified, then we can use training and test data sets for that analysis. Create frequency
tables to determine the number of cases in each species and sex.

b). Perform whatever methods you feel would be appropriate before starting DFA to classify by species
group.

c). Perform DFA by species Group. What was the probability of mandible belonging to Group 2 prior to the
analysis? What was the proportion of total variance explained by the first two DFs? What do you think DF1
represents, and what do the positive and negative loadings mean?

d). Classify each individual based on your DFA model. What percentage of individuals was correctly
classified?

e). Plot individuals for DF1 v DF2 with individuals classified by original group and then predicted group.
Interpret. Can you identify the two incorrectly classified individuals? Plot DF3 v DF4 using both original
and predicted group labels. Interpret.

f). What would you conclude about this analysis? Include any limitations you would place on interpretation.

g). Create training and test sets for Sex. Has the partitioning created samples of sizes that you would expect?

h). Run DFA to classify by Sex using your training and test data. As part of your interpretation comment
on the prior probabilities for Sex. Give the total % correctly classified and the of each sex misclassified.

1
i). Looking back at the analysis by Group, see if you can adjust the code from part e). to predict group
membership based on only the first two DF’s. Why might this be useful to consider?

You might also like