Skip to Main Content
Data Analysis and Statistics for Geography, Environmental Science, and Engineering
book

Data Analysis and Statistics for Geography, Environmental Science, and Engineering

by Miguel F. Acevedo
December 2012
Beginner content levelBeginner
557 pages
19h 5m
English
CRC Press
Content preview from Data Analysis and Statistics for Geography, Environmental Science, and Engineering
511Multivariate Analysis II
> xgda
Call:
lda.formula(grp ~ ., data = xg)
Prior probabilities of groups:
1 2 3
0.3333333 0.3333333 0.3333333
Group means:
X1 X2 X3
1 60.036 90.161 19.041
2 62.578 92.148 21.970
3 63.735 94.437 24.303
Coefficients of linear discriminants:
LD1 LD2
X1 0.3322028 -0.8372882
X2 0.6195081 0.5792344
X3 0.7393298 0.1252196
Proportion of trace:
LD1 LD2
0.9913 0.0087
>
The coefcients would form matrix A. We can see that the rst variable explains 99% of variance. To
obtain the individual scores we can use predict(). For brevity we only show a few individual scores.
> predict(xgda)$x
LD1 LD2
1 -3.11922510 -0.63601796
2 -3.52320100 0.67056904 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Applied Modeling Techniques and Data Analysis 1

Applied Modeling Techniques and Data Analysis 1

Yannis Dimotikalis, Alex Karagrigoriou, Christina Parpoula, Christos H. Skiadas
Geospatial Data and Analysis

Geospatial Data and Analysis

Aurelia Moser, Jon Bruner, Bill Day

Publisher Resources

ISBN: 9781439885017