Question

In: Statistics and Probability

1. Consider the following function F(x) = {2x / 25 0<x<5            {0 otherwise a) Prove...

1. Consider the following function

F(x) = {2x / 25 0<x<5

           {0 otherwise

a) Prove that f(x) is a valid probability function.

b) Develop an inverse-transformation for this function.

c) Assume a multiplicative congruential random number generator with parameters:

a: 23, m: 100, and xo: 17. Generate two random variates from the function for (x).

Solutions

Expert Solution

(a)

Given function:

   for 0 < x < 25

f(x) is a valid probability function if the Total Probability = 1.

i.e.,

between the limits 0 to 5.

Applying limits, we get:

This proves that f(x) is a valid probabilify function.

(b) Cumulative Distribution Function F(x) is got by integrating f(x) from 0 to x as follows:

between the limits 0 to x. Applying limits, we get:

The Cumulative Distribution is Uniform Distribution in (0,1).

Thus, equating F(x) to r, a random bumber generated by computer with uniform distribution in (0,1), we get:

So,

x = 5

This is the inverse-transformation for this function.

(c)

The Multiplicative Congruential Generator (MCG) is given by:

Given:

n = 0

a = 23

m = 100

Substituting, we get:

= 391 mod 100 = 91

So,

the two random numbers generated are:

91, 93


Related Solutions

Suppose f(x) = 2x/25 over 0<=x<=5, Using g(x) = 10/25 as the majorizing function, the probability...
Suppose f(x) = 2x/25 over 0<=x<=5, Using g(x) = 10/25 as the majorizing function, the probability of acceptance should be:
Consider the root of function f(x) = x 3 − 2x − 5. The function can...
Consider the root of function f(x) = x 3 − 2x − 5. The function can be rearranged in the form x = g(x) in the following three ways: (a) x = g(x) = x3 − x − 5 (b) x = g(x) = (x 3 − 5)/2 (c) x = g(x) = thirdroot(2x + 5) For each form, apply fixed-point method with an initial guess x0 = 0.5 to approximate the root. Use the error tolerance = 10-5 to...
5. Consider the function f(x) = -x^3 + 2x^2 + 2. (a) Find the domain of...
5. Consider the function f(x) = -x^3 + 2x^2 + 2. (a) Find the domain of the function and all its x and y intercepts. (b) Is the function even or odd or neither? (c) Find the critical points, all local extreme values of f, and the intervals on which f is increasing or decreasing. (d) Find the intervals where f is concave up or concave down and all inflection points. (e) Use the information you have found to sketch...
Find f(x) for the following function. Then find f(6), f(0), and f(-7). f(x)=-2x^2+1x f(x)= f(6)= f(0)=...
Find f(x) for the following function. Then find f(6), f(0), and f(-7). f(x)=-2x^2+1x f(x)= f(6)= f(0)= f(-7)=
Consider the function f(x)f(x) whose second derivative is f''(x)=5x+10sin(x)f′′(x)=5x+10sin(x). If f(0)=4f(0)=4 and f'(0)=4f′(0)=4, what is f(5)f(5)?....
Consider the function f(x)f(x) whose second derivative is f''(x)=5x+10sin(x)f′′(x)=5x+10sin(x). If f(0)=4f(0)=4 and f'(0)=4f′(0)=4, what is f(5)f(5)?. show work
For the following exercises, determine whether or not the given function f is continuous everywhere....f(x) = 2x + 5/x
For the following exercises, determine whether or not the given function f is continuous everywhere. If it is continuous everywhere it is defined, state for what range it is continuous. If it is discontinuous, state where it is discontinuous.f(x) = 2x + 5/x
a.  For the following probability density function:                 f(X)= 3/4 (2X-X^2 ) 0 ≤ X ≤ 2           &nbsp
a.  For the following probability density function:                 f(X)= 3/4 (2X-X^2 ) 0 ≤ X ≤ 2                        = 0 otherwise            find its expectation and variance. b. The two regression lines are 2X - 3Y + 6 = 0 and 4Y – 5X- 8 =0 , compute mean of X and mean of Y. Find correlation coefficient r , estimate y for x =3 and x for y = 3.
Given f(x) = 1 x 2 − 1 , f 0 (x) = −2x (x 2...
Given f(x) = 1 x 2 − 1 , f 0 (x) = −2x (x 2 − 1)2 and f 00(x) = 2(3x 2 + 1) (x 2 − 1)3 . (a) [2 marks] Find the x-intercept and the y-intercept of f, if any. (b) [3 marks] Find the horizontal and vertical asymptotes for the graph of y = f(x). (c) [4 marks] Determine the intervals where f is increasing, decreasing, and find the point(s) of relative extrema, if any....
Given the following rational function:             F(X) = (2X^2 - 20) / [( X - 5 )^2]...
Given the following rational function:             F(X) = (2X^2 - 20) / [( X - 5 )^2] Find all horizontal and vertical asymptotes Find the first derivative of F(X) and simplify Find the critical values for X and determine if they are at a maximum or minimum, using the First Derivative Sign Test. Find the Second Derivative and Use it to confirm your answers to part c. You may keep the 2nd derivative in “rough” form and simply substitute in the...
Suppose f is a twice differentiable function such that f′(x)>0 and f′′(x)<0 everywhere, and consider the...
Suppose f is a twice differentiable function such that f′(x)>0 and f′′(x)<0 everywhere, and consider the following data table. x      0       1       2 f(x)   3       A       B For each part below, determine whether the given values of A and B are possible (i.e., consistent with the information about f′and f′′ given above) or impossible, and explain your answer. a)A= 5, B= 6 (b)A= 5, B= 8 (c)A= 6, B= 6 (d)A= 6, B= 6.1 (e)A= 6, B= 9
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT