Question

Part I: Ene concept of a percentile (equivalently, quantile) is very important in data analysis. It applies to both samples and distributions. So, lets get some wi practice with them, starting with the binomial distribution. In prelab, you learned that the function gbinom(p. size prob) gives the p-th quantile of the binomial distribution with parameters n - size and pi prob. tocus on the binomial distribution with parameters n-10 and pi-0.3.Then, the 38th percentile (or 0.38 quantile) of that distribution is qbinom (0.38, 10, 0.3) # 2 , le , the area to the left of x-2, under that binomi I dist bution is 0.38 (or 38%). height of p x) in You also learned from prelah2 that dbinom x, sze prob) gives the *value* of the binomial distribution, i e lecture notation. the a) Write code to compute the sum of the values of the binomial pl(x) for all integer xs between 0 and 2. Keep focusing on n-10, pi-0.3. Hopefully, your answer will be close to what qbinomO gave us above, because the sum of the heights of p(x) is supposed to be the area under p(x). (For technical reasons that we may discuss later, the answers may not be exactly the same; but they should be close.)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

(a) Since dbinom(x, size, prob) gives us the value of the binomial distribution at point 'x', the code to compute the sum of the values of the binomial p(x) for all integers x's between 0 and 2 is:
dbinom(0, 10, 0.3) + dbinom(1, 10, 0.3) + dbinom(2, 10, 0.3).

Add a comment
Know the answer?
Add Answer to:
Part I: Ene concept of a percentile (equivalently, quantile) is very important in data analysis. It...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please solve on only PART 2 b) and c) , PART 1 is only for REFERENCE...

    Please solve on only PART 2 b) and c) , PART 1 is only for REFERENCE :) Part I: Ene concept of a percentile (equivalently, quantile) is very important in data analysis. It applies to both samples and distributions. So, let's get some wi practice with them, starting with the binomial distribution. In prelab, you learned that the function gbinom(p. size prob) gives the p-th quantile of the binomial distribution with parameters n - size and pi prob. tocus on...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT