Discussion Overview
The discussion centers around the implementation of random number generators in Mathematica, specifically focusing on the wrapped Cauchy and Von Mises distributions. Participants explore commands and methods for generating random numbers from these distributions, addressing both theoretical and practical challenges encountered in the process.
Discussion Character
- Technical explanation
- Debate/contested
- Mathematical reasoning
Main Points Raised
- One participant seeks assistance with using a random number generator in Mathematica for wrapped Cauchy and Von Mises distributions.
- Another participant suggests using the RandomVariate command and mentions the possibility of creating custom distributions with ProbabilityDistribution, sharing their own challenges with multivariate distributions.
- A participant provides an example of using ProbabilityDistribution for the wrapped Cauchy distribution but encounters an error when attempting to use RandomVariate, indicating that sampling from their defined distribution is not implemented.
- Another participant notes they have not seen the error message before and shares their success with MarginalDistribution, suggesting an alternative method using the inverse of the CDF for generating random numbers.
- One participant expresses difficulty in obtaining the CDF of the wrapped Cauchy distribution, reporting that attempts to integrate yield no results.
- A later reply suggests conducting a literature search for existing implementations and mentions the inability to evaluate the CDF numerically, indicating potential limitations in Mathematica's automated routines for this distribution.
Areas of Agreement / Disagreement
Participants express various challenges and uncertainties regarding the implementation of random number generation for the wrapped Cauchy and Von Mises distributions. There is no consensus on a definitive solution, and multiple competing views and methods are presented.
Contextual Notes
Limitations include unresolved issues with the implementation of the wrapped Cauchy distribution in Mathematica, particularly regarding the sampling and evaluation of the CDF. Participants highlight the need for further exploration and validation of methods.