Question: ( based on 6 . 1 2 from UsingR ) We can use probability to estimate a value of . Pick a point at random
based on from UsingR We can use probability to estimate a value
of Pick a point at random from a square of side length centered at the
origin. Inside the square draw a circle of radius The probability that
the point is inside the circle is equal to the area of the circle divided by the
area of the square: pi pi We can simulate the probability
and then multiply by to estimate pi The simulation could be done with
following command:
n ; x runifn
y runifn;sumx yn
Do a simulation to estimate pi What do you get? Use the binomial model
and the known value of pi to find the standard deviation of the random
variable you estimated.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
