10.07.2015 Views

Statistics I Exercises

Statistics I Exercises

Statistics I Exercises

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

(b) Estimate the proportion of students who would obtain a mark of 30% or higher.26. Simulate 10 000 binomial pseudorandom numbers with parameters 20 and 0.3. Let X be abinomial(20, 3) random variable. Use the simulated numbers to estimate the following:(a) P(X ≤ 5)(b) P(X = 5)(c) E(X)(d) var(X)(e) the 95th percentile of X (you may use the quantile() function)(f) the 99th percentile of X(g) the 99.9999th quantile of X.In each case, compare your estimates with the true values. What is required to estimateextreme quantities accurately?27. Consider the following function which is designed to simulate binomial pseudorandom variatesusing the inversion method:R> ranbin1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!