I have found some information about mean and standard deviation of circular statistics. Namely, Wikipedia
However I am not clear how I can code this in Java.
For circular mean I have tried something like:
for double radian : radians then
cos += Math.cos(radian)
sin += Math.sin(radian)
next
atan2 = Math.atan2(cos, sin)
if atan2 < 0 then
atan2 += 2 * PI
end if
mean = Math.toDegrees(atan2) % 360
This seems to give me a neat result, but for the standard deviation I am very unclear.
Any help would be appreciated.
Matt