Recent content by electroissues

  1. E

    Finding PDF of uniform distribution

    Homework Statement Let X be a uniform random variable in the interval [0,1] i.e., X = U [(0,1)]. Then a new random variable Y is given by Y= g(X), where g(x)= -a. ln(x). Show that Y is exponentially distributed. What is the mean of Y? Homework Equations fX(x) = 1/ lambda . exp (-x/...
  2. E

    MATLAB for uniform random variables

    Thanks, Mark. I read the documentation. In my first post, the question has U= [0,1] with 10,000 random variables. Can you please tell me how I shud use this in the rand function? Also, please help with the substitution for x and y if I define the rand as "rand [1, 10000]" Thanks again.
  3. E

    MATLAB for uniform random variables

    Thanks for your comments but I need to point out that's the question in the first place. So there is no chance I can take a different value. How do you suggest I define the vectors then? One of the vector (x) is multiplied with the log and the second vector (y) is multiplied with cos (2pi)...
  4. E

    MATLAB for uniform random variables

    I tried to put the formula into MATLAB and this was my program x= 0; >> y= 1; >> rand (1, 1000); >> g= sqrt((-2*log(x)) * cos((2*pi*y))); >> plot(g) Actually, for this, I get a blank plot. Please point out the mistake.
  5. E

    MATLAB for uniform random variables

    Homework Statement Given 2 independent uniform random variables X,Y = U [0,1], consider the random variables Z = g (X,Y) for g = (x,y) = sqrt (-2ln(x) . cos(2piy). Since finding the distribution of g(X,Y) analytically is quite tough, I need to generate MATLAB program for 1 - 10,000...
  6. E

    The distribution of ratio of two uniform variables

    Well, I'm new here and had problems starting a new thread. I looked at PDF of an exponential function which is (1 - Fx (x)) and also since its also given its independent, we know it can be split into Fx (x) . Fy (y) but I can't put these things together.
  7. E

    The distribution of ratio of two uniform variables

    Question says Let X and Y be independent random variables with join cumulative distribution function (CDF) F subscript X,Y of (x,y)= P (X</= x, Y</=y). Show that the CDF Fz(z) of the random variable Z=min (X,Y) can be computed via Fz(z)= Fx(z) + Fy(z) - Fx(z) . Fy(z) = 1 - (1 - Fx (z)) . (1- Fy...
Back
Top