Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( based on 6 . 1 2 from UsingR ) We can use probability to estimate a value of . Pick a point at random

(based on 6.12 from UsingR) We can use probability to estimate a value
of . Pick a point at random from a square of side length 2 centered at the
origin. Inside the square draw a circle of radius 1. 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 12)/(22)=\pi /4. We can simulate the probability
and then multiply by 4 to estimate \pi . The simulation could be done with
following command:
n =1000; x = runif(n,1,1)
y =runif(n,1,1);sum(x2+ y2<1)/n
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Probability and Random Processes With Applications to Signal Processing and Communications

Authors: Scott Miller, Donald Childers

2nd edition

123869811, 978-0121726515, 121726517, 978-0130200716, 978-0123869814

More Books

Students also viewed these Mathematics questions

Question

What must you not do? What is the opposite of that?

Answered: 1 week ago

Question

How much can you spend?

Answered: 1 week ago