Given a $D$-dimensional datum that is an iid sample from a spherical Gaussian distribution, and the noise-corrupted version of that datum generated by adding spherical Gaussian noise, is there a useful way to express the distribution of the cosine similarity between the signal and its noisy version?
Here's what I tried: since cosine similarity depends only on the angle between these two $D$-dimensional vectors, and not their magnitude or absolute angle, without loss of generality we can "rescale" the problem so that the signal has Euclidean norm of 1, and also rotate the problem so that the signal is aligned with the first axis. Then the problem is stated as:
Given a $D$-dimensional datum $X=(1,0,0,...)'$ and its noise-corrupted version $Y = X + \mathcal{N}^D(0, \sigma)$ (where $\sigma$ is the standard deviation), what is the distribution of the cosine similarity $\frac{X \cdot Y}{||X|| ||Y||}$?
The constraints on $X$ mean the expression can be simplified to $\frac{y_1}{||Y||}$ where $y_1$ is the first element of $Y$, and clearly $y_1$ is distributed as $\mathcal{N}(1, \sigma)$. The overall expression, $\frac{y_1}{||Y||}$, well we can expand it out, but I don't know of any way to rewrite it so that I can get (for example) expressions for its mean and variance.
(Some simple results for the extremes: When $\sigma=0$, the cosine similarity is 1. As $\sigma\to\infty$, the cosine similarity becomes the distribution of dot products between two random unit vectors.)