SWLDA for P300 classification

Forum for discussion on different signal processing algorithms
Locked
yinerwei1985
Posts: 2
Joined: 10 Feb 2014, 19:46

SWLDA for P300 classification

Post by yinerwei1985 » 29 Jun 2014, 10:48

Hi all,

Any of you know the difference between stepwise linear discriminant analysis (SWLDA) and stepwise regression? What's the matlab function for SWLDA?

Thanks, :D

Yin

boulay
Posts: 382
Joined: 25 Dec 2011, 21:14

Re: SWLDA for P300 classification

Post by boulay » 30 Jun 2014, 12:08

In the case of P300, the discriminant function is classifying the responses as P300-like vs not-P300-like. i.e., it is a two-class classifier. (Then, when selecting the intended target, we usually choose the target that had the largest P300-like score).

In the case of a two-class dependent variable, LDA and linear regression are identical. See here for more.

So the Matlab function you want is stepwisefit, part of the statistics toolbox. This is the function that is used by the P300Classifier.

yinerwei1985
Posts: 2
Joined: 10 Feb 2014, 19:46

Re: SWLDA for P300 classification

Post by yinerwei1985 » 30 Jun 2014, 15:54

Hi Boulay,

Many thanks for your help!

Erwei

Locked

Who is online

Users browsing this forum: No registered users and 1 guest