Ratio of Cauchy: ChatGPT fails on this simple question
Probability
Author
Phillip Nicol
Published
February 8, 2025
It is well known that the ratio of two independent standard normals \(Z_1/Z_2\) follows a Cauchy distribution. But what about the ratio of two (independent) Cauchy distributions? ChatGPT confidently tells me that it is still a Cauchy distribution. I almost agreed it with it and went on to have a productive day, but got suspicious after the following simulation:
set.seed(1)x <-rcauchy(n=10^4); y <-rcauchy(n=10^4)r <- x/y#Quantiles of cauchy quantile(x, c(0.025, 0.05, 0.25, 0.5, 0.75, 0.95, 0.975))
which is definitely not a Cauchy distribution. By the way, this is one of the weirdest densities I have ever seen, \(f(u) \to \infty\) as \(u \to 0\) and \(f\) is indeterminate at \(u = \pm 1\) (the limit may be evaluated using L’hospital’s rule). Here is a plot comparing the Cauchy density (red) to its ratio (black).