Presentation is loading. Please wait.

Presentation is loading. Please wait.

Prabhas Chongstitvatana1 Numerical probabilistic The answer is always an approximation.

Similar presentations


Presentation on theme: "Prabhas Chongstitvatana1 Numerical probabilistic The answer is always an approximation."— Presentation transcript:

1 Prabhas Chongstitvatana1 Numerical probabilistic The answer is always an approximation.

2 Prabhas Chongstitvatana2 The expected precision improves given more time. The answer is always an approximation. The expected precision improves given more time.

3 Prabhas Chongstitvatana3 The answer is always an approximation. The expected precision improves given more time. The error is inverse proportion to the square root of the amount of work. (100 times more work to obtain one additional digit of precision) Example : use in simulation

4 Prabhas Chongstitvatana4 Buffon’s needle 18 th century, George Louis Leclerc, compte de Buffon. Probability that a needle will fall across a crack is 1/pi (each drop is independent to the others) Plank width = w Needle length L = w/2

5 Prabhas Chongstitvatana5 Approximate pi : n/k as an estimator of pi Approximate w : w >= L, w is estimated by

6 Prabhas Chongstitvatana6 How fast this ‘algorithm’ converge? Convergence analysis Estimate pi : Xi each needle Xi =1 if i-th needle fall across a crack, 0 otherwise.

7 Prabhas Chongstitvatana7 X estimate of 1/pi after dropping n needles.

8 Prabhas Chongstitvatana8 X is normal distributed

9 Prabhas Chongstitvatana9 X is normal distributed

10 Prabhas Chongstitvatana10 We want to estimate pi not 1/pi when With n needles, estimate pi will have less precision than estimate 1/pi by one digit.

11 Prabhas Chongstitvatana11 Given n, the value of pi is between and with probability at least p

12 Prabhas Chongstitvatana12 Given n, the value of pi is between and Example : How many n to estimate pi within 0.01 of the correct value with the confidence 99% ? precision 0.001 (one more digit than estimate 1/pi) n >1.44 million


Download ppt "Prabhas Chongstitvatana1 Numerical probabilistic The answer is always an approximation."

Similar presentations


Ads by Google