Chapter 5: Problem 1
Approximate log 2 by using a uniform \((0,1)\) generator. Obtain an error of estimation in terms of a large sample \(95 \%\) confidence interval. If you have access to the statistical package \(\mathrm{R}\), write an \(\mathrm{R}\) function for the estimate and the error of estimation. Obtain your estimate for 10,000 simulations and compare it to the true value. Hint: Recall that \(\log 2=\int_{0}^{1} \frac{1}{x+1} d x\).
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.