0% found this document useful (0 votes)
20 views2 pages

Random Variables and Density Functions

Uploaded by

michmapa0509
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views2 pages

Random Variables and Density Functions

Uploaded by

michmapa0509
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

CH2010 Engineering Statistics AY2024 - 2025

Tutorial 2. Random variables

1. A student rolls a fair cubic die twice. Let X1 be the result of the first roll and X2 be the
result of the second roll. Plot the graph of f(x) and F(x) for:
i. X = X1 + X2,
ii. X = X1 – X2,
iii. X = X1 × X2,
iv. X = X1 – 2X2.
(Easy)

2. Three production units A, B, and C produce 60%, 30% and 10% of a certain product, with
defective rates of 2%, 3% and 4%, respectively. If a product selected at random is found
defective, what is the probability that the defective product comes from production unit
C?
(Medium)

3. You are participating in a game in which there are three doors. Behind one of them there
is a prize (say a Porsche); behind the other two there is nothing. Your goal is to win the
prize. You pick one door at random, then the game host opens a different door to show
you there is nothing behind. Then, you are given an opportunity to change your original
choice. Will you make the change? Why?
(Medium)

4. Suppose that the joint density of X and Y is given by:

{
e−x/ y
:0< x <∞ , 0< y < ∞
f ( x , y )= y e y
0 :otherwise
Find P(X > 1|Y = y).
(Medium)

5. The joint density of X and Y is given by:

Find the probability density function of the random variable X/Y.

1
CH2010 Engineering Statistics AY2024 - 2025

(Difficult)

Additional practices (optional)

Random variables and probability distributions: Exercises 3.1, 3.3, 3.5, 3.7, 3.11, 3.13, 3.15,
3.17, 3.19, 3.21, 3.27, 3.29, 3.31, 3.33, 3.35.

Joint probability distributions: Exercises 3.37, 3.39, 3.41, 3.43, 3.45, 3.47, 3.49, 3.51, 3.35,
3.57.

All exercises can be from in Chapter 2 of “Ronald E. Walpole, Raymond H. Myers, Sharon
L. Myers & Keying Ye. Probability & Statistics for Engineers and Scientists. 9th Ed. Boston,
MA: Pearson, c2012.” Answers can be found in Appendix B.

Common questions

Powered by AI

Formulating P(X > 1|Y = y) involves defining the event X > 1 in terms of the conditional density, f(x|y). First, separate f(x, y) into f(x|y) and marginalize f(y). Integrate f(x|y) from 1 to infinity, taking y as constant. Use the conditional density f(x|y) = f(x, y) / f(y). This computation yields P(X > 1|Y = y), utilizing the given ranges and properties of integration where necessary. Calculations must maintain variable independence where required .

Challenges include correct application of transformation techniques, such as finding the correct functional form and using the Jacobian to account for variable scale changes post-transformation. Ensuring domain restrictions and handling irregular distributions present additional difficulties. Moreover, verifying transformation correctness requires thorough integration over proper boundaries. Careful algebraic manipulation and insights into variable relationships are essential, given structural changes often affect computed densities .

To find the probability density function for Z = X/Y given the joint density function of X and Y, apply the transformation technique for joint distributions. Define the transformation and its inverse, compute the Jacobian for this transformation to adjust densities correctly, and integrate over the relevant variable ranges. The resulting density function reflects the distribution of Z, incorporating the relationship between X and Y outlined by their joint density .

Switching doors in this context is statistically advantageous due to the 'Monty Hall problem.' Initially, there is a 1/3 probability you've picked the door with the prize. After the host opens a door to reveal no prize, switching doors offers a 2/3 probability of winning because the host's action provides additional information, effectively redistributing the probabilities. Therefore, switching increases your chance of winning from 1/3 to 2/3 .

For the random variable X = X1 + X2, where X1 and X2 are results of rolling a die, the sample space S is the set of sums from 2 to 12. Calculate the probability for each sum by counting favorable outcomes (e.g., P(X=2) occurs only for the pair (1,1) and so has probability 1/36). Continue this counting for each sum and plot f(x), showing probabilities peaking at 7 due to the statistical likelihood of more combinations resulting in middle sums .

To plot the cumulative distribution function F(x) for X = X1 - 2X2 when rolling a fair die, compute the probability mass function first. Calculate probabilities for each possible result of X = X1 - 2X2 from die rolls. Use these results to compute cumulative probabilities F(x), which are the sums of probabilities for all outcomes less than or equal to x. Graphically represent F(x) as a step function where F(x) increases at discrete points corresponding to calculated outcome probabilities .

To find P(X > 1|Y = y), integrate the joint density function over the region (1, ∞) with respect to x. This integration gives the conditional density of X given Y, integrated over the required range. The result is P(X > 1|Y = y) = ∫ from 1 to ∞ e^{-x/y} y dx, which simplifies to e^{-1/y}, utilizing integration properties of exponential functions .

Statistically, switching is advantageous because it leverages the principle of probability revision. Initially, each door has a 1/3 chance of hiding the prize. When a non-selected door is opened, it removes that door's 1/3 chance of containing the prize. Thus, the probability for the remaining unselected door increases to 2/3. Mathematical analysis shows that switching effectively captures the redistributed probabilities post-information adjustment .

To determine the probability that a defective product comes from production unit C, we use Bayes' theorem. The probability of selecting a defective product from unit C is the product of the probability that a product comes from unit C (10%) and the defect rate of unit C (4%). This is divided by the total probability of selecting a defective product, which includes contributions from units A, B, and C: P(Defective) = 0.6 * 0.02 + 0.3 * 0.03 + 0.1 * 0.04. Thus, P(C | Defective) = (0.1 * 0.04) / P(Defective). Calculating this gives us the desired probability .

The impact is assessed through Bayes' theorem, requiring computation of defect probabilities weighted by each unit's production proportion. Higher production percentages mean greater contribution to overall defects if defect rates are similar. Conversely, units with higher defect rates disproportionately influence probability despite lower outputs. This distribution influences the posterior probability of defects originating from a particular unit given a defect occurs, illustrating probabilistic interplay between rate and volume .

You might also like