How to calculate 2D standard deviation, with 0 mean, bounded by limits My problem is as follows:
I drop 40 balls at once from a certain point, a few meters over the floor.
The balls roll, and comes to a rest.
Using computer vision, I calculate the center of mass in the X-Y plane.
I am only interested in the distance from the center of mass to each ball, which is calculated using simple geometry.
Now, I want to know the one-sided standard deviation from the center.
So, I would be able to know that a certain number of balls are within one std radius, more balls within 2*std radius and so on.
How do I calculate the one-sided standard deviation? A normal approach would state that half of the balls be on the "negative side" of 0 mean. This of course makes no sense in this experiment.
Do I have to make sure that the balls conform to the standard distribution?
Thank you for any help.
 A: I think you have some things a bit confused. It's true that distance can't be negative, but that doesn't affect calculation of the standard deviation. Although it means the distribution of distances can't be exactly normal, it could still be close; but even if its is far from normal, there is still a standard deviation.
Also, there is no "one sided" standard deviation - you may be thinking of hypothesis tests (which can be one sided or two sided). In your title, you say mean is 0, but the mean distance won't be 0 (unless the balls are in a stack 40 balls high!) and you say there are limits - there could be limits, if the balls are dropped in a room then they can't be farther from the center than the distance to the nearest wall. But unless some of the balls bounce against a wall, that won't affect things.
So, once you have the 40 distances you calculate the standard deviation (and mean, median, interquartile range, etc) using standard methods. You can also make plots of the distance (e.g. quantile normal plot, box plot) to see if it is roughly normally distributed (if that's of interest). 
A: Its been a while since this was asked, but the answer to the question is that this is the 2D distribution named the Rayleigh distribution. Here the assumption is that the Rayleigh shape factor is equal to both the standard deviations of the X and Y coordinates. In practice the value of the shape factor would be calculated from the pooled average of the standard deviation of X and Y. 
starting with 
$$ X \sim \mathcal{N}(\mu_x,\sigma_x^2)$$, and $$Y \sim \mathcal{N}(\mu_y,\sigma_y^2)$$
use bivariant normal distribution. 
$$ f(x,y) =
      \frac{1}{2 \pi  \sigma_x \sigma_y \sqrt{1-\rho^2}}
      \exp\left(
        -\frac{1}{2(1-\rho^2)}\left[
          \frac{(x-\mu_x)^2}{\sigma_x^2} +
          \frac{(y-\mu_y)^2}{\sigma_y^2} -
          \frac{2\rho(x-\mu_x)(y-\mu_y)}{\sigma_x \sigma_y}
        \right]
      \right)$$
translate to point $$(\mu_x, \mu_y)$$ and assume $$\rho = 0$$. 
Also assume that $$\sigma_x^2 = \sigma_y^2$$ so replace both with $$\sigma^2$$
then the 2-D distribution is expressed as the radius around point $$(\mu_x, \mu_y)$$ which is known as the Rayleigh distribution.  
$$PDF(r; \sigma) = \frac{r}{\sigma^2 }
      \exp\left(
        - \frac{r^2}{2\sigma^2} 
      \right)
  $$
where $$\sigma = \sigma_x = \sigma_y$$ and $$r_i = \sqrt{(x_i - \mu_x)^2 + (y_i - \mu_y)^2}$$
$$ CDF(r; \sigma) = 1 - \exp\left(
        - \frac{r^2}{2\sigma^2} 
      \right)$$
Of course this is for the continuous distribution. For a sample of just 40 balls there is no exact solution. You'd need to do a Monte Carlo Analysis with a sample of 40 balls. Taylor, M. S. & Grubbs, Frank E. (1975). "Approximate Probability Distributions for the Extreme Spread" found estimates for the Chi distribution and the log-normal for that would fit the distribution of a sample.   

Edit - Despite Wuber's doubt, the theoretical proportions he calculated are:
0.3935 0.6321 0.7769 0.8647 0.9179 0.9502 0.9698 0.9817 0.9889 0.9933
From the CDF function the cumulative Sigma values for r (in sigmas) equal to range from:
0-1, 0-2, 0-3, ... , 0-10
are:
0.3935, 0.6321, 0.7769, 0.8647, 0.9179, 0.9502, 0.9698, 0.9817, 0.9889, 0.9933
A: The normal distribution, both positive and negative values, makes sense if you recognize that this normal distribution is for radius or "distance from centroid".  The other variable, angle, is random and is uniformly distributed from 0-pi
