Fit (wrapped) gaussian distribution to circular data

조회 수: 31 (최근 30일)
CP
CP 2011년 10월 5일
편집: Image Analyst 2020년 11월 13일
I have a set of data that is distributed on a circle and I want to fit it to a normal distribution. What I mean is, the X axis of that plot is wrapped on a circle while the Y axis values are normally distributed. How would I go about doing this? A regular gaussian fit works fine for peaks in the middle of the circle, but when the peaks are near the seams of the circular dimension, fitting a regular gaussian distribution doesn't work very well.

채택된 답변

Daniel Shub
Daniel Shub 2011년 10월 6일
I think you might be looking for a von Mises function. I don't think MATLAB has any built in support for von Mises functions, but you should be able to code it.
  댓글 수: 2
CP
CP 2011년 10월 7일
Slightly different properties than a wrapped gaussian but it's similar enough for my purposes and the function itself is simple enough to where doing a fit is much easier. Thanks!
Daniel Garside
Daniel Garside 2020년 11월 13일
편집: Daniel Garside 2020년 11월 13일
There is a circular statistics toolbox that has Von Mises parameter estimation as part of it:

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Image Analyst
Image Analyst 2011년 10월 6일
편집: Image Analyst 2020년 11월 13일
Try this citation:
"Least-squares orthogonal distances Fitting of circle, sphere, ellipse, hyperbola, and parabola" Sung Joon Ahn, Wolfgang Rauh, Hans-Jurgen Warnecke, Pattern Recognition 34 (2001) pages 2283-2303
Abstract: The least-squares fitting minimizes the squares sum of error-of-fit in predefined measures. By the geometric fitting, the error distances are defined with the orthogonal, or shortest, distances from the given points to the geometric feature to be fitted. For the geometric fitting of circle/sphere/ellipse/hyperbola/parabola, simple and robust nonparametric algorithms are proposed. These are based on the coordinate description of the corresponding point on the geometric feature for the given point, where the connecting line of the two points is the shortest path from the given point to the geometric feature to be fitted.
The paper is attached here.

Daniel Garside
Daniel Garside 2020년 11월 13일
There is a circular statistics toolbox that has Von Mises parameter estimation as part of it:

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by