Question

a) Write a program (or use Excel) to generate random numbers between 0 and1. The distribution in this case is U -Un the uniform distribution on (0,1). The pmf for the uniform in this case is g (x) = 1 for 0 < x < 1 b) Choose a function f(x) with domain containing the interval (0,1). Be creative with the function you choose, 1/(x+1), 1/x ,etc functions use a continuous function such as e-4x, sin(2?). x, log(x), xlog(x), Do not use constant functions (which have zero variance) or linear

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

プAnsar :- Givm that raudom nambert betoeer o at distaibution on (o,u) by ugng R soltexaye to do b) Selecked the Hollovoing -f

Add a comment
Know the answer?
Add Answer to:
a) Write a program (or use Excel) to generate random numbers between 0 and1. The 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
  • most computer languages include a function that can be used to Generate random numbers in Excel...

    most computer languages include a function that can be used to Generate random numbers in Excel the Rand function can be used to Generate random numbers between 0 and 1 if we let X denote a random number General using R and then X is a continuous random variable with the following probability density function

  • Let F be a continuous distribution function and let U be a uniform (0, 1) random...

    Let F be a continuous distribution function and let U be a uniform (0, 1) random variable (a) If X F-(U), show that X has distribution function F. Show that -log(U) is an exponential random variable with mean 1.

  • Let X be an uniform distribution between 0 and 1, Y be an uniform distribution between...

    Let X be an uniform distribution between 0 and 1, Y be an uniform distribution between -5 and 3, and they are independent. Calculate the pdf, expectation, and the variance of the followings 1. 4X

  • Most computer languages include a function that can be used to generate random numbers. In Excel,...

    Most computer languages include a function that can be used to generate random numbers. In Excel, the RAND function can be used to generate random numbers between 0 and 1. If we let x denote a random number generated using RAND, then x is a continuous random variable with the following probability density function. for 0 sxs 1 elsewhere (a) Graph the probability density function. f(x) f(x) EEEEEEEEEEEEE Endas tiers - 3 - Terce BOORTE E segments Egertice Tesegent o...

  • 9.) Suppose that X is a continuous random variable with density C(1- if r [0,1 0...

    9.) Suppose that X is a continuous random variable with density C(1- if r [0,1 0 ¡f x < 0 or x > 1. (a) Find C so that px is a probability density function (b) Find the cumulative distribution of X (c) Calculate the probability that X є (0.1,0.9). (d) Calculate the mean and the variance of X 10.) Suppose that X is a continuous random variable with cumulative distribution function Fx()- arctan()+ (a) Find the probability density function...

  • Instructions: If you require uniformly distributed random numbers in [0, 1], use Matlab’s built i...

    Instructions: If you require uniformly distributed random numbers in [0, 1], use Matlab’s built in uniform random number generator rand. Also, you may NOT use any Matlab built-in functions that explicitly perform the task asked for in the problem. Problem 6. Let α > 0 and set f(x)- ae-ale, for x e(-oo, oo). (a) Make a plot of f (b) Show that f is a probability density function (Hint: -, when z S 0, and x-r, when 0.) (c) If...

  • Suppose that you need to generate a random variable Y with a density function f (y)...

    Suppose that you need to generate a random variable Y with a density function f (y) corresponding to a beta distribution with range [0,1], and with a non-integer shape parameter for the beta distribution. For this case there is no closed-form cdf or inverse cdf. Suppose your choices for generating Y are either: a) an acceptance-rejection strategy with a constant majorizing function g(u) = V over [0, 1], i.e., generate u1 and u2 IID from a U[0,1] generator and accept...

  • Say I want to generate random variables from the probability distribution p={ 2-2x 0<x<1 0 ....

    Say I want to generate random variables from the probability distribution p={ 2-2x 0<x<1 0 . elsewhere My scheme is to generate U's from [0,1],double them and plug them into the probability distribution. So U = 0.3 gives me p(0.6)=0.8 as random variable. Prove my idea is right or wrong.

  • 4.60 The sum of two uniform random numbers. Generate two random numbers between 0 and 1...

    4.60 The sum of two uniform random numbers. Generate two random numbers between 0 and 1 and take Y to be their sum. Then Y is a continuous random variable that can take any value between 0 and 2. The density curve of Y is the triangle shown in Figure 4.12. (a) Verify by geometry that the area under this curve is 1. (b) What is the probability that Y is less than 1? [Sketch the density curve, shade the...

  • Many random number generators allow users to specify the range of the random numbers to be...

    Many random number generators allow users to specify the range of the random numbers to be produced. Suppose that you specify that the range is to be all numbers between 0 and 5. Call the random number generated Y. Then the density curve of the random variable Y has constant height between 0 and 5, and height 0 elsewhere. 1. Use Excel to generate 100 random values from the above distribution. Construct a histogram for generated values [ Note: use...

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