# How to check if a distribution has undefined variance?

How can I determine if experimental data comes from a distribution where the variance is undefined (e.g. the Cauchy distribution)?

I honestly have no idea how to attack this problem in a sensible way, but I imagine one could use random matrix theory to help you. For example, the eigenvalues of a (N,N) non-symmetric matrix form a pattern depending on the distribution. For a standard normal distribution, the eigenvalues on the complex plane form a beautiful unit circle:

(here $N=200$ and the results of 16 random matrices are shown with a red dot indicating the largest absolute value. All results are scaled by $\sqrt{N}$)

For the Cauchy distribution the results are quite different:

(same values as above, including the scaling)

So random matrix theory predicts a signal, though it may be an over-engineered solution.

Question: What statistical test can determine if a distribution has undefined variance?

• – Henry Jan 23 '16 at 8:22
• Your question seems to be a duplicate of the above link, except for that you offer a candidate solution. In my opinion, you could delete your question but post its solution part as an answer (even though it is not complete, it still has a gem of an idea in it which may be worthwhile) to the above-linked question. – Richard Hardy Jan 23 '16 at 9:09

I then tested the data using Bayes factors. I couldn't use the posterior as I did not have an exhaustive list of all possible explanations. A Bayes factor, in my case, would have been: $$\frac{\Pr(\text{data}|\text{truncated Cauchy distribution})}{\Pr(\text{data}|\text{truncated Normal distribution})}.$$
I ruled out the normal distribution over the entire population of trades with odds against the normal in the region of $10^{8.6\text{ million}}:1.$ The log-normal was ruled out for two reasons. The first was that the likelihood wouldn't integrate to unity given the prior because it was hyperbolic. The second was that the likelihood maximized only as the scale parameter went to infinity, which implied that the log-normal would eventually become the uniform distribution.