01.03.2013 Views

Applied Statistics Using SPSS, STATISTICA, MATLAB and R

Applied Statistics Using SPSS, STATISTICA, MATLAB and R

Applied Statistics Using SPSS, STATISTICA, MATLAB and R

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

10.3 The von Mises Distributions 383<br />

Function pooledmean computes the pooled mean (see section 10.6.2) of<br />

independent samples of circular or spherical observations, a. The last column of a<br />

contains the group codes, starting with 1. The mean resultant length <strong>and</strong> the<br />

weighted resultant length are returned through rw <strong>and</strong> rhow, respectively.<br />

Function rotate returns the spherical data matrix v (st<strong>and</strong>ard format),<br />

obtained by rotating a so that the mean direction maps onto the North Pole.<br />

Function scattermx returns the scatter matrix t of the spherical data a (see<br />

section 10.4.4).<br />

Function dirdif returns the directional data of the differences of the unit<br />

vectors corresponding to a <strong>and</strong> b (st<strong>and</strong>ard format).<br />

The R functions behave in the same way as their equivalent <strong>MATLAB</strong><br />

functions. For instance, Example 10.5 is solved in R with:<br />

j o o<br />

[1] 0.6487324 1.4182647 -73.1138435 65.4200379<br />

[5] 178.7780083 73.1304754<br />

10.3 The von Mises Distributions<br />

The importance of the von Mises distributions (see B.2.10) for directional data is<br />

similar to the importance of the normal distribution for linear data. As mentioned<br />

in B.2.10, several physical phenomena originate von Mises distributions. These<br />

enjoy important properties, namely their proximity with the normal distribution as<br />

mentioned in properties 3, 4 <strong>and</strong> 5 of B.2.10. The convolution of von Mises<br />

distributions does not produce a von Mises distribution; however, it can be well<br />

approximated by a von Mises distribution.<br />

The generalised (p – 1)-dimensional von Mises density function, for a vector of<br />

observations x, can be written as:<br />

mµ κ , p ( x)<br />

C p<br />

κ µ ’<br />

x<br />

, = ( κ ) e , 10.10<br />

where µ is the mean vector, κ is the concentration parameter, <strong>and</strong> Cp(κ) is a<br />

normalising factor with the following values:<br />

2<br />

C 2 ( κ ) = 1/(<br />

2π<br />

I 0 ( κ )) , for the circle (p = 2);<br />

C ( κ ) = κ /( 4π<br />

sinh( κ )) , for the sphere (p = 3).<br />

3<br />

2<br />

Ip denotes the modified Bessel function of the first kind <strong>and</strong> order p (see B.2.10).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!