DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


MeanAngleX

Declaration:TCurveFit.MeanAngleX: double;
The read-only property MeanAngleX returns the mean of the x-values interpreted as angles measured in degrees. For example, the angles of 5°, 1°, and 357° are quite close to each other and the mean of them would be 1°, and not 121°, as the numerical average suggests.

The following diagram shows 20 angles (blue points in polar diagram) randomly distributed around zero degrees. The average angle is 356° and is indicated by the red line.

Hint: The property MeanAngleX triggers the calculation of NumData sines and cosines and their summation. Thus the usage of MeanAngleX can be time-intensive if many inidividual values have been entered.