By Sam Berens (sam.berens@york.ac.uk)

Click here to download release R01.04


HoopStats_EstimMixtureModel.m
Estimates a mixture model for circularly distributed data. Components within the model can include a uniform distribution and arbitrarily many target/fix position von Mises distributions.

HoopStats_GetParams.m
Computes various statistics for a sample of angles in radians ("Thetas"). If optional "Weights" argument is supplied, angles are weighted to have varying influences on the statistics.

HoopStats_InfoContent.m
Computes the information content (I) of a von Mises distribution with a prior weight of P and a concentration parameter of K.

HoopStats_K2H.m
Computes the information entropy (H) of a von Mises distribution with a concentration parameter of K. If K is 0, H is maximal and reflects the information entropy of a uniform distribution.

HoopStats_K2R.m
Converts the von Mises concentration parameter (K) to a resultant (mean) vector length R.

HoopStats_R2K.m
Converts a resultant (mean) vector length (R) into a von Mises concentration parameter (K).

HoopStats_VonmFit.m
Compute values of the von Mises probability density function ("Pd") and the associated negative log-likelihood (Nll) for angles ("Thetas", in radians) drawn from a distribution with mean "Mu" and concentration "K".