Message-ID: <c19cec27-ed43-4b8a-b39c-6544d34e066f@gmail.com>
Date: 2023-10-12T20:00:14Z
From: Ben Bolker
Subject: Linear discriminant analysis
In-Reply-To: <CAE09ejdw5Bz2zNjmJZwgHUajG4M39mFaaSddxrE7F1Sb-kTJOg@mail.gmail.com>
It's possible that neither of these will help, but
(1) you can look at the source code of the predict method
(MASS:::predict.lda)
(2) you can look at the source reference ("Modern Applied Statistics in
S", Venables and Ripley) to see if it gives more information (although
it might not); there's a chance that you can get the information you
need via a google books search
On 2023-10-12 10:25 a.m., Fernando Archuby wrote:
> Hi.
> I have successfully performed the discriminant analysis with the lda
> function, I can classify new individuals with the predict function, but I
> cannot figure out how the lda results translate into the classification
> decision. That is, I don't realize how the classification equation for new
> individuals is constructed from the lda output. I want to understand it but
> also, I need to communicate it and provide a mechanism for other colleagues
> to make classifications with their data.
> Thank you very much,
> Fernando
>