Measuring entrainment

advertisement
Measuring Entrainment:
Some Methods and Issues
J. Devin McAuley
Center for Neuroscience, Mind & Behavior
Department of Psychology
Bowling Green State University
Email: mcauley@bgnet.bgsu.edu
Entrainment Network III, Milton Keynes & Cambridge, UK, December 9th – 12th 2005
Outline of Talk
•
•
•
•
•
A Few Examples of Entrainment
Entrainment Involves Circular Data
Statistics for Circular Data
What Can I Do With Circular Statistics?
What Can’t I Do?
J. Devin McAuley
2
A Simple Example
Target T
...
(A) Stimulus Sequence
Produced Interval (P)
(B) Tapping Sequence
J. Devin McAuley
3
A More Complex Example …
J. Devin McAuley
4
A Mystery Example …
J. Devin McAuley
5
Entrainment Involves Circular Data
• A simple way to describe any rhythmic
behavior is using a circle.
• Each point on the circle represents a position
in relative time (a phase angle).
• The start point is arbitrary.
J. Devin McAuley
6
Polar versus Rectangular Coordinates
90
(x, y)
r

180
0, 360
270
J. Devin McAuley
7
(0, 1)
90
(-1, 0)
(x, y)

180
0
(1,0)
x = cos
y = sin
270
(1, 0)
J. Devin McAuley
8
A Simple Example
Target T
...
(A) Stimulus Sequence
Produced Interval (P)
(B) Tapping Sequence
J. Devin McAuley
9
A Tale of Two Oscillators
Driven Oscillator
r
J. Devin McAuley

Driving Oscillator
r

10
Case 1: Perfect Synchrony
Driven Oscillator
Driving Oscillator
 = 0
 = 0
Each Produced Tap
J. Devin McAuley
11
Case 2: Taps Lag Tones
Driven Oscillator
Driving Oscillator
 = 45
 = 0
Each Produced Tap
J. Devin McAuley
12
Case 3: Taps Ahead of Tones
Driven Oscillator
Driving Oscillator
 = 0
 = 315
Each Produced Tap
J. Devin McAuley
13
Case 4: Entrainment
Driven Oscillator
Driving Oscillator
 = 0
 → ,
as n ↑
Each Produced Tap
J. Devin McAuley
14
Why won’t linear statistics work?
• With circular data there is a cross-over
problem.
• For example, measured in degrees, the
linear mean of 359 and 1 is 180, not 0
• This problem arises no matter what the start
point is, and is independent of unit of
measurement.
J. Devin McAuley
15
Statistics for Circular Data
• Descriptive Statistics
– Mean Direction, 
– Mean Resultant Length, R
– Circular Variance, V
• Inferential Statistical Tests
J. Devin McAuley
16
90
1.0
0.5
180
0
0.0
-0.5
-1.0
-1.0
J. Devin McAuley
-0.5
0.0
270
0.5
1.0
17
(0, 1)
90
(-1, 0)
(x, y)

180
0
(1,0)
x = cos
y = sin
270
(1, 0)
J. Devin McAuley
18
Calculating a Mean
(x1, y1)
(x2, y2)
J. Devin McAuley
19
Calculating a Mean
(X, Y)
X = x1 + x2
Y = y1 + y2
J. Devin McAuley
20
Mean Direction, 
n
Y   sin  j
j 1
 
tan 1 X
if X  0, Y  0
Y


if X  0, Y  0
2

 1 X
if X  0

  tan
Y
 1
tan X Y  2 if X  0, Y  0

if X  0, Y  0
undefined

 
 
J. Devin McAuley
21
Mean Resultant Length, R
n
Y   sin  j
j 1
n
C   cos  j
R
j 1
R
X
RR
2
Y2

R
(Pythagorean Theorem)
n
J. Devin McAuley
22
Circular Variance, V
V=1–R
J. Devin McAuley
23
90
1.0
0.5
180
0
0.0
-0.5
-1.0
-1.0
J. Devin McAuley
-0.5
0.0
270
0.5
1.0
24
90
1.0
0.5
 = 50
180
R = 0.34
0
0.0
-0.5
-1.0
-1.0
J. Devin McAuley
-0.5
0.0
270
0.5
1.0
25
90
1.0
0.5
180
0
0.0
-0.5
-1.0
-1.0
J. Devin McAuley
-0.5
0.0
270
0.5
1.0
26
90
1.0
0.5
180
0
0.0
 = 344
R = 0.88
-0.5
-1.0
-1.0
J. Devin McAuley
-0.5
0.0
270
0.5
1.0
27
Statistics for Circular Data
• Descriptive Statistics
– Mean Direction, 
– Mean Resultant Length, R
– Circular Variance, V
• Inferential Statistical Tests
J. Devin McAuley
28
Logic of Hypothesis Testing
• State Null & Alternative Hypotheses
• Determine Critical Value
– for pre-selected alpha level (e.g.,  = 0.05)
• Calculate Test Statistic
• If Test Statistic > Critical Value
– then Reject Null (e.g., p < 0.05)
– otherwise Retain Null
J. Devin McAuley
29
Inferential Statistics
• Test for uniformity
• Test for unspecified mean direction
• Test for specified mean direction
J. Devin McAuley
30
Logic of Hypothesis Testing
• State Null & Alternative Hypotheses
• Determine Critical Value
– for pre-selected alpha level (e.g.,  = 0.05)
• Calculate Test Statistic
• If Test Statistic > Critical Value
– then Reject Null (e.g., p < 0.05)
– otherwise Retain Null
J. Devin McAuley
31
What can I do with circular stats?
(not an exhaustive list)
• Descriptive statistics
– Mean direction and length
– Variance, Standard Deviation
– Skewness, Kurtosis
• Inferential statistics
–
–
–
–
Uniformity, symmetry
Unspecified and specified mean direction
Comparison of two or more samples
Confidence intervals
J. Devin McAuley
32
What can’t I do with circular stats?
• Circular statistics do not address sequential
dependencies.
J. Devin McAuley
33
Stability Across Lifespan
J. Devin McAuley
34
Download