Q. 10.4
Question
Present a method for simulating a random variable having distribution function
Step-by-Step Solution
Verified Answer
The universality of uniform is used to obtain the required method.
1Step 1: Given Information
We have given the function
2Step 2: Simplify
Finding the value . for we have
and for(1/2,1) we have
So, the method is as follows. choose a random number (call it y) from the interval (0,1). If it is less than , declare x = 6y - 3. And if it is greater than , declare . from the universality of the uniform, we have that x follows the distribution of X.
Other exercises in this chapter
Q. 10.2
Develop a technique for simulating a random variable having density function f(x)e2x-∞<x<0e-2x0<x<∞
View solution Q. 10.3
Give a technique for simulating a random variable having the probability density functionf(x)12(x-2)2≤x≤312(2-x3)3<x≤60otherwise
View solution Q. 10.5
Use the inverse transformation method to present an approach for generating a random variable from the Weibull distribution F(t)=1-e-atβ t≥
View solution Q. 10.6
Give a method for simulating a random variable having failure rate function (a) λ(t) = c;(b) λ(t) = ct;(c) λ(t) = ct2;(d) λ(t) = ct3
View solution