Thread Subject: regression between two sets of circular data

Subject: regression between two sets of circular data

From: Cato

Date: 19 Nov, 2009 04:46:00

Message: 1 of 2

Hello,

I am trying to use the regress function in matlab to obtain residuals (i.e. rx) to use in a partial correlation coefficient. The thing is that the two parameters I am correlating are two sets of circular data (angle 0 to 360). It seems as if the regress function just gives residuals of linear data...is there a function to find residuals for circular data?

Thank you very much!
Cato

Subject: regression between two sets of circular data

From: Peter Perkins

Date: 22 Nov, 2009 15:26:25

Message: 2 of 2

Cato wrote:
> Hello,
>
> I am trying to use the regress function in matlab to obtain residuals (i.e. rx) to use in a partial correlation coefficient. The thing is that the two parameters I am correlating are two sets of circular data (angle 0 to 360). It seems as if the regress function just gives residuals of linear data...is there a function to find residuals for circular data?

This toolbox

<http://www.mathworks.com/matlabcentral/fileexchange/10676-circular-statistics-toolbox-directional-statistics>

is freely available on the MATLAB File Exchange. I am not familiar enough with what you need to know if it provides what you are looking for, but it seems quite useful for circular data. Hope this helps.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com