
Ultimate access to all questions.
Assume that you want to generate random variables from U(-1,5) using random variables from U(0,1). What is the corresponding random variable of 0.10 ~ U(0,1)?
A
-0.8
B
0.5
C
-0.4
D
0.7
Explanation:
To generate random variables from U(-1,5) using random variables from U(0,1), we use the inverse transform method.
For a uniform distribution U(a,b), the CDF is:
Given X ~ U(-1,5), where a = -1 and b = 5:
Let U ~ U(0,1), then we solve for X:
Therefore, the corresponding random variable for U = 0.10 is -0.40, which corresponds to option C.
The transformation X = 6U - 1 maps: