Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Novel sampling method for the von Mises–Fisher distribution

Published: 26 March 2024 Publication History

Abstract

The von Mises–Fisher distribution is a widely used probability model in directional statistics. An algorithm for generating pseudo-random vectors from this distribution was suggested by Wood (Commun Stat Simul Comput 23(1):157–164, 1994), which is based on a rejection sampling scheme. This paper proposes an alternative to this rejection sampling approach for drawing pseudo-random vectors from arbitrary von Mises–Fisher distributions. A useful mixture representation is derived, which is a mixture of beta distributions with mixing weights that follow a confluent hypergeometric distribution. A condensed table-lookup method is adopted for sampling from the confluent hypergeometric distribution. A theoretical analysis investigates the amount of computation required to construct the condensed lookup table. Through numerical experiments, we demonstrate that the proposed algorithm outperforms the rejection-based method when generating a large number of pseudo-random vectors from the same distribution.

References

[1]
Abramowitz, M., Stegun, I.A. (eds): Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. United States. National Bureau of Standards. Applied Mathematics Series, 55. U.S. Govt. Print. Off., Washington, D.C. (1964)
[2]
Amrhein, L., Harsha, K., Fuchs, C.: scModels: Fitting Discrete Distribution Models to Count Data (2023). https://CRAN.R-project.org/package=scModels. R package version 1.0.4
[3]
Cheng RC Generating beta variates with nonintegral shape parameters Commun. ACM 1978 21 4 317-322
[4]
Eddelbuettel D and Balamuta JJ Extending R with C++: A brief introduction to Rcpp Am Stat 2018 72 1 28-36
[5]
García-Portugués, E., Paindaveine, D., Verdebout, T.: rotasym: Tests for Rotational Symmetry on the Hypersphere (2023). https://CRAN.R-project.org/package=rotasym. R package version 1.1.5
[6]
Hoff PD Simulation of the matrix Bingham–von Mises–Fisher distribution, with applications to multivariate and relational data J. Comput. Graph. Stat. 2009 18 2 438-456
[7]
Kang, S., Oh, H.-S.: rvMF: Fast Generation of von Mises–Fisher Distributed Pseudo-Random Vectors (2023). https://CRAN.R-project.org/package=rvMF. R package version 0.0.8
[8]
Kato S and Eguchi S Robust estimation of location and concentration parameters for the von Mises–Fisher distribution Stat. Pap. 2016 57 1 205-234
[9]
Kent JT The Fisher–Bingham distribution on the sphere J. R. Stat. Soc. Ser. B (Stat. Methodol.) 1982 44 1 71-80
[10]
Kume A and Walker SG On the Fisher–Bingham distribution Stat. Comput. 2009 19 2 167-172
[11]
Kurz, G., Hanebeck, U.D.: Stochastic sampling of the hyperspherical von Mises–Fisher distribution without rejection methods. In: 2015 Sensor Data Fusion: Trends, Solutions, Applications (SDF), pp. 1–6. IEEE (2015)
[12]
Ley C and Verdebout T Skew-rotationally-symmetric distributions and related efficient inferential procedures J. Multivar. Anal. 2017 159 67-81
[13]
Mardia, K.V., Jupp, P.E.: Directional Statistics, vol. 494. Wiley, Chichester (1999)
[14]
Marsaglia G Generating discrete random variables in a computer Commun. ACM 1963 6 1 37-38
[15]
Marsaglia G, Tsang WW, and Wang J Fast generation of discrete random variables J. Stat. Softw. 2004 11 3 1-11
[16]
Muller ME A note on a method for generating points uniformly on n-dimensional spheres Commun. ACM 1959 2 4 19-20
[17]
Nunez-Antonio G and Gutiérrez-Pena E A Bayesian analysis of directional data using the von Mises-Fisher distribution Commun. Stat. Simul. Comput. 2005 34 4 989-999
[18]
Papadakis, M., Tsagris, M., Dimitriadis, M., Fafalios, S., Tsamardinos, I., Fasiolo, M., Borboudakis, G., Burkardt, J., Zou, C., Lakiotaki, K., Chatzipantsiou, C.: Rfast: A Collection of Efficient and Extremely Fast R Functions (2023). https://CRAN.R-project.org/package=Rfast. R package version 2.0.7
[19]
Pewsey A and García-Portugués E Recent advances in directional statistics TEST 2021 30 1 1-58
[20]
Porwal, S., Kumar, S.: Confluent hypergeometric distribution and its applications on certain classes of univalent functions. Afrika Matematika 28(1), 1–8 (2017)
[21]
Temme NM Asymptotic expansions of Kummer hypergeometric functions for large values of the parameters Integral Transforms Spec. Funct. 2022 33 1 16-31
[22]
Ulrich G Computer generation of distributions on the m-sphere J. R. Stat. Soc. Ser. C (Appl. Stat.) 1984 33 2 158-163
[23]
Wood AT Simulation of the von Mises Fisher distribution Commun. Stat. Simul. Comput. 1994 23 1 157-164
[24]
Zhang F, Hancock ER, Goodlett C, and Gerig G Probabilistic white matter fiber tracking using particle filtering and von Mises–Fisher sampling Med. Image Anal. 2009 13 1 5-18

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Statistics and Computing
Statistics and Computing  Volume 34, Issue 3
Jun 2024
416 pages

Publisher

Kluwer Academic Publishers

United States

Publication History

Published: 26 March 2024
Accepted: 29 February 2024
Received: 22 June 2023

Author Tags

  1. Pseudo-random vector
  2. Simulation
  3. Sphere
  4. von Mises–Fisher distribution
  5. Confluent hypergeometric distribution

Qualifiers

  • Research-article

Funding Sources

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 0
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 16 Feb 2025

Other Metrics

Citations

View Options

View options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media