MATH 1280 Week 6 Assignment University of the People 2024/25
10 views 0 purchase
Course
MATH 1280 (MATH1280)
Institution
Abacus College, Oxford
MATH 1280 Week 6 Assignment University of the People 2024/25/MATH 1280 Week 6 Assignment University of the People 2024/25/MATH 1280 Week 6 Assignment University of the People 2024/25/MATH 1280 Week 6 Assignment University of the People 2024/25
, 1) The first task is to review some information that might be useful later:
a) Write a brief definition of the word "quartile" as we have used it in
previous weeks. Be sure to provide a citation:
Answer:- Quartiles are just numbers but they separate the data into
quarters” (Yakir, 2011, P32)
2. b) Write a brief definition of the word "quantile" as it might be used in
statistics. Be sure to provide a citation (do not cut and paste... use your own
words to summarize what you discovered):
quantiles are numbers but they separate the data into specific probability.
C. c) From within interactive R, enter the command shown below (the
command shows a help page for the pbinom command). Provide a very brief
description of the arguments that are passed to the pbinom() command
("arguments" in computer programming are the options that you give to a
function so that the function can calculate what you want it to). Note that
one of the arguments is lower.tail = TRUE, and because there is a value
assigned to it with the equals sign, it means that if you do not enter a new
value for lower.tail, it will be set to TRUE by default. Do not type the ">" into
R, it is the command prompt:
> ?pbinom
The arguments are:
1. quantile:- the numbers that separates the data into quarters.
2. size = the repetition of the experiments performed
3. prob = the probability of success,
4. lower.tail = a flag indicating whether to return the probability below or
above that specified value ( i.e q value),
5. log.p = a value that, if set, returns the log of the answer as a means to
reduce loss of precision for very small numbers
2) You can use the dbinom() command (function) in R to determine the
probability of getting 0 heads when you flip a fair coin four times (the
probability of getting heads is 0.5): dbinom(0, size=4, prob=0.5)
Find the equivalent values for getting 1, 2, 3, or 4 heads when you flip the
coin four times. TIP: after you run the first dbinom() command, press the up
arrow and make a small change and run it again.
Probability of getting exactly 1 head: 0.25
Probability of getting exactly 2 heads: 0.375
Probability of getting exactly 3 heads: 0.25
3. Use the pbinom() function in R to show the cumulative probability of
getting 0, 1, 2, 3, or 4 heads when you flip the coin 4 times (this is the same
as finding the probability than the value is less than or equal to 0, 1,2, 3, or
4.)
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller VEVA2K. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $18.99. You're not tied to anything after your purchase.