I'm trying to calculate pi using the classic Monte Carlo method. But, instead of using uniformly distributed points, I want to use a normal distribution with mean value centred on the origin ($\mu = 0$) and standard deviation of $\sigma = 0.6$.
If the darts are thrown uniformly in the square from $(-1,-1)$ to $(1,1)$, this distance is less than $1$ with a probability of $P(\textrm{inside circle}) = \frac{\pi}{4}$. How would this change for a normal distribution? How would you calculate $\pi$?
My attempt:
For the normal distribution described above $P(\textrm{inside circle}) = 0.905$ (using the look-up table for $Z$). But this expression doesn't include $\pi$, so I'm not sure where to go from here.
Any help would be much appreciated.
You can use distribution function transformation (cf Casella Berger or any standard statistics texts) to get uniform distribution from normal. Basically, with continuous r.v. X, we have $F_X(X) \sim uniform (0,1)$, where $ F_X $ is distribution function of $X$. Here, you need to first estimate the distribution function using the empirical distribution function $\hat F_X(x)=\sum_{i=1}^n1\{X_i\le x\}/n$. Glivenko-Cantelli theorem guarantee good properties of this estimate.