Tuesday, July 14, 2009

Statistics problem...?

A random number generator is used to generate a real number at random between 0 and 1, equally likely to fall anywhere in this interval of values. (For instance, 0.3794259832...is a possible outcome.)





a. Sketch a curve of the probability distribution of this random variable, which is the continuous version of the uniform distribution.





b. What is the mean of this probability distribution?





c. Find the probability that this random variable falls between 0.25 and 0.75.





*Note:


The mean of a probability distribution for a discrete random variable is





µ = Σ x P(x)





where the sum is taken over all possible values of x.

Statistics problem...?
a) The curve of the pdf is a straight line at y=1 going from x=0 to x=1.





b) The mean is (1-0)/2 = 0.5





c) P(0.25%26lt;= x %26lt;= 0.75) = 0.75-0.25 = 0.50


No comments:

Post a Comment