Question

Suppose that we wish to generate observations from the discrete distribution

3 a) Suppose that we wish to generate observations from the discrete distribution with probability mass function 2)+1 20 x=1,2, 3, 4, 5 Clearly describe the algorithm to do this and give the random numbers corresponding to the following uniform(0,1) sample. 0.5197 0.1790 0.9994 0.6873 0.7294 0.5791 0.0361 0.2581 0.0026 0.8213 NB: Do not use R for this part of the question. two numbers rolled. Write an R function which will generate n random rolls of a pair b) Consider the problem of rolling two fair dice and reporting the sum of the sum of the

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Suppose that we wish to generate observations from the discrete distribution 3 a) Suppose that we...
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
  • 3 a) Suppose that we wish to generate observations from the discrete distribution with probability mass...

    3 a) Suppose that we wish to generate observations from the discrete distribution with probability mass function 2)+1 20 x=1,2, 3, 4, 5 Clearly describe the algorithm to do this and give the random numbers corresponding to the following uniform(0,1) sample. 0.5197 0.1790 0.9994 0.6873 0.7294 0.5791 0.0361 0.2581 0.0026 0.8213 NB: Do not use R for this part of the question. two numbers rolled. Write an R function which will generate n random rolls of a pair b) Consider...

  • Suppose we wish to generate a sample from the exponential (β) distribution, and only have access...

    Suppose we wish to generate a sample from the exponential (β) distribution, and only have access to a computer which generates numbers from the skew logistic distribution. It turns out that if X~SkewLogistic (β), then log(1+exp(-X)) is exponential (β). Show that this is true and check by simulation that this transformation is correct.

  • A discrete probability distribution differs from a continuous probability distribution, by only t...

    A discrete probability distribution differs from a continuous probability distribution, by only taking values on a discrete set (like the whole numbers) instead of a continuous set. The geometric distribution is a discrete probability distribution which measures the number of times an experiment must be repeated before a success occurs. For example, in this problem, we will roll a fair six-sided die until the number six occurs, at which point we stop rolling. (a) If we are rolling a die,...

  • A discrete random variable X follows the geometric distribution with parameter p, written X ∼ Geom(p),...

    A discrete random variable X follows the geometric distribution with parameter p, written X ∼ Geom(p), if its distribution function is A discrete random variable X follows the geometric distribution with parameter p, written X Geom(p), if its distribution function is 1x(z) = p(1-P)"-1, ze(1, 2, 3, ). The Geometric distribution is used to model the number of flips needed before a coin with probability p of showing Heads actually shows Heads. a) Show that fx(x) is indeed a probability...

  • 3. Use the probability generating function Px)(s) to find (a) E[X(10)] (b) VarX(10)] (c) P(X(5)-2) . ( 4.2 Probability Generating Functions The probability generating function (PGF) is a us...

    3. Use the probability generating function Px)(s) to find (a) E[X(10)] (b) VarX(10)] (c) P(X(5)-2) . ( 4.2 Probability Generating Functions The probability generating function (PGF) is a useful tool for dealing with discrete random variables taking values 0,1, 2, Its particular strength is that it gives us an easy way of characterizing the distribution of X +Y when X and Y are independent In general it is difficult to find the distribution of a sum using the traditional probability...

  • What is the code and result in Rstudio or R 1. Suppose we have a random...

    What is the code and result in Rstudio or R 1. Suppose we have a random sample 1.12, 0.44, -1.49, 0.02, 0.81, -1.34,1.34, 0.51,-0.12, 0.97. (a). Use two methods to find the sample mean (b). Use two methods to find the sample variance. (c). Find the sample standard deviation. 2. We can use function rt(n 100, df 2) to generate a random sample from a t-distribution with two degrees of freedom. The sample size is n 100. (a). Generate a...

  • We have n independent observations from a geometric distribution with unknown parameter θ. Po(X,-k-θ(1-0)4-1 for k-1,...

    We have n independent observations from a geometric distribution with unknown parameter θ. Po(X,-k-θ(1-0)4-1 for k-1, 2, 3, . . . We wish to test the null hypothesis θ-1/2 versus the alternative θ 7|/2. we can show that the MLE θ-1/2. Write out the appropriate LRT statistic as a function of the r, the mean of the observations

  • Suppose there are 40 students in my class. Out of which, 8 students live on campus...

    Suppose there are 40 students in my class. Out of which, 8 students live on campus housing. If I select 15 students at random from this class of 40, find the probability that more than 3 live on campus housing. (Bonus) 35.18% 39.80% 64.81% 25.01% 60.19% A box contains 4 red and 6 black balls if two balls are selected at random without replacement and colors of the balls are noted. In this experiment, we don't know how many red...

  • E) Deseribe the probabuiity histogram (symmetry, shape, center And the mean of this discrete rand...

    c-f on this page We were unable to transcribe this imagee) Deseribe the probabuiity histogram (symmetry, shape, center And the mean of this discrete random variable, Х. (Reminden This is asking you to find the mean or a random variable. .not a sample mean.) Show your 二つ、 e) Find the standard deviation of the random variable, X. (Reminder: This is asking you to find the standard deviation of a random variable...not a sample standard deviation.) Keep EXACT fractions throughout the...

  • Suppose that X1, … Xn are sample from the following truncated Poisson distribution. 12:35 AM Fri...

    Suppose that X1, … Xn are sample from the following truncated Poisson distribution. 12:35 AM Fri Nov 29 100% 5 TORO+ 0 0 + Bo 2. Suppose that X ., X, are sampled from the following truncated Poisson distribution: PCX = r exp(-)" ! (r) for x=r +1,7 +2,... for some integer r > where *a(r) = Į PM) = 1 - . expe="JA" Such a sample might arise if we were sampling from a Poisson population but were unable...

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