Question

Use the rbinom() function to create a vector of 1000 random observations from the binomial distribution...

  1. Use the rbinom() function to create a vector of 1000 random observations from the binomial distribution with n=100 and probability of success is equal to 0.4.
    1. Calculate the mean and standard deviation statistics for this vector of random draws using the mean() and sd() commands.
    2. How do these numbers compare the mean and standard deviation of the binomial distribution when  and ? If they are different, why?
    3. Make a histogram of this vector using the hist() command.
0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Use the rbinom() function to create a vector of 1000 random observations from the binomial distribution...
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
  • The Binomial and Poisson Distributions Both the Binomial and Poisson Distributions deal with discrete data where...

    The Binomial and Poisson Distributions Both the Binomial and Poisson Distributions deal with discrete data where we are counting the number of occurrences of an event. However, they are very different distributions.  This problem will help you be able to recognize a random variable that belongs to the Binomial Distribution, the Poisson Distribution or neither. Characteristics of a Binomial Distribution Characteristics of a Poisson Distribution The Binomial random variable is the count of the number of success in n trials:   number of...

  • 5000) of uniformly distributed random numbers between 1 Generate a large number (1000 or and 2...

    5000) of uniformly distributed random numbers between 1 Generate a large number (1000 or and 2 (HINT: use the rand command for generating a uniformly distributed random variable between 0 and 1 and then move it!). b Plot the pdf of the distribution. Use the hist command to obtain the number of samples in a random numbers, define binx as a vector with bins on the x-axis (binx = 1:0.01:2). P histx,binx) will provide you the weights pdf. Compare with...

  • 12. The random variable Y obeys the binomial distribution with number of trials n and success...

    12. The random variable Y obeys the binomial distribution with number of trials n and success probability p. (a) Derive the MGF for Y. (b) Use the MGF to find the mean and standard deviation of Y.

  • Calculate (by hand) the mean and standard deviation for the binomial distribution with the probability of...

    Calculate (by hand) the mean and standard deviation for the binomial distribution with the probability of a success being 0.10 and n = 10. Write a comparison of these statistics to those from question 5 in a short paragraph of several complete sentences. Use these formulas to do the hand calculations: Mean = np, Standard Deviation = Mean #5 is .5 and standard deviation is 1.581

  • Given a random sample of 500 observations from a population having binomial distribution. Is there a...

    Given a random sample of 500 observations from a population having binomial distribution. Is there a significant evidence to conclude that population mean is greater than 300 if the sample mean is 302. a) Null hypothesis is b) Alternative is c) Test statistic equal to d) Critical Value of the test at a=10% is e) Does it appear at a=10% that population mean is greater than 300 ?

  • Please answer both 1 & 2. 1. Use Excel to generate 100 observations from the standard...

    Please answer both 1 & 2. 1. Use Excel to generate 100 observations from the standard Normal distribution. a.Make a histogram of these observations. How does the shape of this histogram compare with a Normal density curve? 2. Use Excel to generate 100 Normally distributed random values (that is 100 outcomes of a Normally distributed random variable with mean 10 and standard deviation of 5). a. Make a histogram for your data. How does the shape of this histogram compare...

  • (a) Using the rbinom or sample commands in R programming, simulate 50 independent aian (b) Repeat...

    (a) Using the rbinom or sample commands in R programming, simulate 50 independent aian (b) Repeat for 100 tosses, and then 500 tosses. For each of these calculate the proportion of heads and the standard deviation. (c) What do you observe? Is it because of the Law of Large Numbers or because of the Central Limit Theorem? Explain. (d) Now draw 500 samples of 500 tosses each. What is the mean proportion of heads? (e) Plot the sampling distribution for...

  • The probability density function (pdf) of a Gaussian random variable is: where μ s the mean...

    The probability density function (pdf) of a Gaussian random variable is: where μ s the mean of the random va nable, and σ is the standard deviation . (1) Please plot the pdf of a Gaussian random variable (the height of an average person in Miami valley) in Matlab, if we know the mean is 5 feet 9 inches, and the standard deviation is 3 inches (2) Please generate a large number of instances of such a Gaussian random variable...

  • A random sample of size n = 40 is selected from a binomial distribution with population...

    A random sample of size n = 40 is selected from a binomial distribution with population proportion p = 0.25. Describe the approximate shape of the sampling distribution of p̂. approximately normalskewed left    uniformskewed right Calculate the mean and standard deviation (or standard error) of the sampling distribution of p̂. (Round your standard deviation to four decimal places.) mean standard deviation Find the probability that the sample proportion p̂ is between 0.15 and 0.41. (Round your answer to four decimal places.)

  • Suppose a random sample of n = 25 observations is selected from a population that is...

    Suppose a random sample of n = 25 observations is selected from a population that is normally distributed with mean equal to 106 and standard deviation equal to 15. (a) Give the mean and the standard deviation of the sampling distribution of the sample mean x̄. mean=    standard deviation=    (b) Find the probability that x̄ exceeds 115. (Round your answer to four decimal places.) (c) Find the probability that the sample mean deviates from the population mean μ...

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
Active Questions
ADVERTISEMENT