Question

Solve the following problems in R studio or R. please help with this question in writing codes in R. 1. Suppose you toss a fair coin 10 times, let X denote the number of heads. (a) What is the probability that X=5? (b) What is

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

R Console > # x follow binomia (10,0.5) > #p(x=5) > dbinom (5, 10,0.5) [1] 0.2460938 > #p(x>=5) > 1-pbinom (4,10,0.5) (1) 0.6

Add a comment
Know the answer?
Add Answer to:
Solve the following problems in R studio or R. please help with this question in writing...
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
  • Solve the following problems in R studio or R. please help with this question in writing...

    Solve the following problems in R studio or R. please help with this question in writing codes in R. 2. A life insurance salesman sells on average 3 life insurance policies per week. Use Poisson's law to calculate the probability that in a given week he will sell (a) At least 1 policy (b) 2 or more policies but less than 4 policies (c) Assuming that there are 5 working days per week, what is the probability that in a...

  • Q3. Suppose we toss a coin until we see a heads, and let X be the...

    Q3. Suppose we toss a coin until we see a heads, and let X be the number of tosses. Recall that this is what we called the geometric distribution. Assume that it is a fair coin (equal probability of heads and tails). What is the p.m.f. of X? (I.e., for an integer i, what is P(X=i)? What is ?[X]? ({} this is a discrete variable that takes infinitely many values.)

  • 2. SUPPLEMENTAL QUESTION 1 (a) Toss a fair coin so that with probability pheads occurs and...

    2. SUPPLEMENTAL QUESTION 1 (a) Toss a fair coin so that with probability pheads occurs and with probability p tails occurs. Let X be the number of heads and Y be the number of tails. Prove X and Y are dependent (b) Now, toss the same coin n times, where n is a random integer with Poisson distribution: n~Poisson(A) Let X be the random variable counting the number of heads, Y the random variable counting the number of tails. Prove...

  • I want help to solve this question (5) Knowing that we obtained at least once the...

    I want help to solve this question (5) Knowing that we obtained at least once the outcome "heads” in three independent tosses of a fair coin, what is the probability that we obtained "heads” three times.

  • Please, I want to solve this question 2· Let 0 < p < 0.5. Assume that...

    Please, I want to solve this question 2· Let 0 < p < 0.5. Assume that there are two biased coins. The 1st coin shows heads with probability p and the second coin shows heads with probability q, where q-1-p. Consider the following two stage experiment. First, select one of the two coins at random, with each coin being selected with probability 1/2, and then flip the selected coin n times. Let X be the number of times heads shows....

  • Please help, solve all parts Probability and Statistics Consider a sarnple of data S = {1,1,0,...

    Please help, solve all parts Probability and Statistics Consider a sarnple of data S = {1,1,0, 1,0) created by flipping a coin r five times, where 0 denotes that the coin turned up heads and 1 denotes that it turned up tails. 1. What is the sample mean for this data? 2. What is the sample variance for this data? 3. What is the probability of observing this data, assuming it was generated by flipping a coin with an equal...

  • Problem(13) (10 points) An unfair coin is tossed, and it is assumed that the chance of...

    Problem(13) (10 points) An unfair coin is tossed, and it is assumed that the chance of getting a head, H. is (Thus the chance of setting tail, T. is.) Consider a random experiment of throwing the coin 5 times. Let S denote the sample space (a) (2 point) Describe the elements in S. (b) (2 point) Let X be the random variable that corresponds to the number of the heads coming up in the four times of tons. What are...

  • Plese use R-Studio to answer this question. qbinom(p, size, prob) gives the smallest x value so...

    Plese use R-Studio to answer this question. qbinom(p, size, prob) gives the smallest x value so that the probability of being less than or equal to x is at least p. Try the following: pbinom(0:10, size=10, prob=0.5) ; qbinom(0.75, size=10, prob=0.5) What is the value for which 90 percent of the probability is smaller than it, when you flip a fair coin 20 times?

  • 2. Suppose we want to test whether a coin is fair (that is, the probability of...

    2. Suppose we want to test whether a coin is fair (that is, the probability of heads is p = .5). We toss the coin 1000 times, and record the number of heads. Let T denote the number of heads divided by 1000. Consider a test that rejects the null hypothesis that p=.5 if T > c. (a) Write down a formula for P(T>c) assuming p = 0.5. (This formula may be compli- cated, but try to give an explicit...

  • This is discrete mathematics If you do it right, I must give praise. You must use probability spa...

    This is discrete mathematics If you do it right, I must give praise. You must use probability space is a triple relative acknowledge. S: is a sample sapce E=p(s) is the set of all events P: E-->R is a function. The important thing that I need to say three times:   If you don't know how to do it, please don't do it. don't copy others, especially for question (a), give sample space, probability measure The important thing that I need...

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