I have to calculate the random variable X if P(X=0.1)=0.4 and P(X=1.2)=0.1
so it's a step function and I've calculated the expected value and variance but I don't know how to come with the actual random variable itself. I think it's a step function and I use the inverse transform method but I only know how to use it for curves on the distribution function and it the P(X=is a constant) because the random variable will always be the constant but what about in this situation?
so it's a step function and I've calculated the expected value and variance but I don't know how to come with the actual random variable itself. I think it's a step function and I use the inverse transform method but I only know how to use it for curves on the distribution function and it the P(X=is a constant) because the random variable will always be the constant but what about in this situation?