Question

construct and graph a binomial distribution with n=30 and p=0.16

construct and graph a binomial distribution with n=30 and p=0.16

Homework Answers

Answer #1

I am using a code in R for Binomial distribution. I will be giving you two graphs, one for the simulated sample and another for the original distribution.

Following is the code.

#######################################

par(mfrow=c(2,1))
x=rbinom(10000,30,0.6)
hist(x,freq=FALSE,xlim=c(0,30),main="Density Plot for Binominal sample",ylim=c(0,0.17))
theo=0:30
den=dbinom(theo,30,0.6)
plot(den,x=theo,type="b",main="Theoretical Binomial Plot",ylim=c(0,0.17),xlab="x",ylab="Density")

######################################

This is the graph.

If you do not get anything in this solution, please put a comment and I will help you out. Do not give a downvote instantly. It is a humble request. If you like my answer, please give an upvote.

Know the answer?
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
Similar Questions
Given n = 5, p = 0.65. Find P(3) using both binomial distribution and geometric distribution....
Given n = 5, p = 0.65. Find P(3) using both binomial distribution and geometric distribution. Group of answer choices Binomial distribution: P(3) = 0.334. Geometric distribution: P(3) = 0.08 Binomial distribution: P(3) = 0.181. Geometric distribution: P(3) = 0.08 Binomial distribution: P(3) = 0.334. Geometric distribution: P(3) = 0.148 Binomial distribution: P(3) = 0.181. Geometric distribution: P(3) = 0.148
Make a histogram for a binomial distribution with n = 6 and p = 0.20 and...
Make a histogram for a binomial distribution with n = 6 and p = 0.20 and describe the shape of the histogram. Use the probabilities from the Binomial Distribution Table.
Using the Binomial distribution, If n = 8 and p = 0.2, find P(x ≤ 7)
Using the Binomial distribution, If n = 8 and p = 0.2, find P(x ≤ 7)
If X ~ Binomial (n, p) and Y ~ Binomial (m, p) are independent variables with...
If X ~ Binomial (n, p) and Y ~ Binomial (m, p) are independent variables with the same probability p, what is the distribution for Z=X+Y? Is it still a binomial distribution? Write out the pdf for Z if it is binomial, otherwise, explain why it is not. What about W = X-Y, is it a binomial distribution? Write out the pdf for W if it is binomial, otherwise, explain why it is not.
If p = 0.55 and n = 15, then the corresponding binomial distribution is A. Right...
If p = 0.55 and n = 15, then the corresponding binomial distribution is A. Right skewed B. Left skewed C. Symmetric D. Bimodal
For a given binomial distribution with  n = 11, p = 0.35, find the following probabilities P(...
For a given binomial distribution with  n = 11, p = 0.35, find the following probabilities P( x is less than or equal to 6, x≤ 6)
For a given binomial distribution with n = 11, p = 0.35, find the following probabilities...
For a given binomial distribution with n = 11, p = 0.35, find the following probabilities P(x is greater than 7, x> 7)
If random variable X has a binomial distribution with n =8 and P(success) = p =0.5,...
If random variable X has a binomial distribution with n =8 and P(success) = p =0.5, find the probability that X is at most 3. (That is, find P(X ≤ 3))
Suppose that x has a binomial distribution with n = 200 and p = .4. 1....
Suppose that x has a binomial distribution with n = 200 and p = .4. 1. Show that the normal approximation to the binomial can appropriately be used to calculate probabilities for Make continuity corrections for each of the following, and then use the normal approximation to the binomial to find each probability: P(x = 80) P(x ≤ 95) P(x < 65) P(x ≥ 100) P(x > 100)
Assume that Y is distributed according to a binomial distribution with n trials and probability p...
Assume that Y is distributed according to a binomial distribution with n trials and probability p of success. Let g(p) be the probability of obtaining either no successes or all successes, out of n trials. Find the MLE of g(p).