# [FieldTrip] Circular Correlation coefficient

David Syloni david.syloni at gmail.com
Tue Feb 2 09:14:30 CET 2016

```Dear Julian,

Thank you for the answer. I was asked by reviewers to calculate  circular
correlation instead of PLV.  Sorry for too general description.
Actually, I found  the toolbox , but I don't understand how to compute
" sample of angles in radians" (the input for the circ_corrcc function ).
I would very appreciate a help to transform my fieldtrip data to the input
format , required by circ_corrcc.

Thanks!

David

On Tue, Feb 2, 2016 at 9:57 AM, Julian Keil <julian.keil at gmail.com> wrote:

> Hi David,
>
> to compute circular statistics (e.g. phase correlations) you need to leave
> fieldtrip a bit.
> Here's the toolbox I usually use:
> http://www.mathworks.com/matlabcentral/fileexchange/10676-circular-statistics-toolbox--directional-statistics-
>
> As you don't describe why you need circular statistics, it's a bit hard to
>
> Good luck,
>
> Julian
>
> Am 01.02.2016 um 13:40 schrieb David Syloni:
>
> > Dear Fieldtripers,
> >
> > I'm trying to apply connectivity analysis with  continuous EEG data.
> >
> > I'm using:
> >
> >
> >
> > cfg           = [];
> > cfg.method    = 'mtmfft';
> > cfg.taper     = 'dpss';
> > cfg.output    = 'fourier';
> > cfg.tapsmofrq = 4;
> > cfg.width=2;
> > cfg.foilim     = [0 250];
> > cfg.keeptrials = 'yes';
> > freq          = ft_freqanalysis(cfg, data_no_artifacts);
> >
> >
> >
> >
> > cfg           = [];
> > cfg.method    = 'plv';
> > 'mtmfft'
> > cfg.foilim     = [8 12];
> > cfg.bandwidth=5;
> > cfg.tapsmofrq  = 4;
> > cfg.keeptrials = 'yes';
> > cfg.output    = 'powandcsd';
> > cfg.channelcmb       = c;
> > coh           = ft_connectivityanalysis(cfg, freq);
> >
> > Right now I should calculate Circular Correlation  and I'm stuck with it.
> >
> > I would very appreciate your help!
> >
> >
> > David
> > _______________________________________________
> > fieldtrip mailing list
> > fieldtrip at donders.ru.nl
> > http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160202/44e9e060/attachment-0002.html>
```