Probability: Nested Uniform Distributions

Click For Summary

Homework Help Overview

The discussion revolves around two problems involving probability and random variables. Problem A involves a nested uniform distribution where a random variable T is selected from a uniform distribution over (0,1], and a second random variable U is selected from a uniform distribution over (0,T]. The goal is to determine the probability Pr(U>1/2). Problem B concerns the probability of exactly two defective parts when three identical parts are inspected, with the probability of defectiveness being a uniform random variable over (0,1].

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the marginal distribution for U and the integration bounds concerning T. There is a focus on the joint density and how to properly set up the integrals for both problems. Some participants question the integration limits and the necessity of integrating with respect to T to find the marginal density for U. Others suggest visualizing the joint density to understand the integration bounds better.

Discussion Status

Participants are actively engaging with the problems, exploring different approaches to integration and probability calculations. Some guidance has been offered regarding the integration process and the need to adjust bounds based on the relationship between U and T. There is recognition of the complexity of the problems, and participants are working through their reasoning without reaching a consensus on the final solutions.

Contextual Notes

There are discussions about the assumptions regarding the uniform distributions and the integration limits, particularly in relation to the joint density of the random variables involved. Participants express uncertainty about the correct approach to take in their calculations.

ObliviousSage
Messages
36
Reaction score
0

Homework Statement



Problem A:
A random variable T is selected from a uniform distribution over (0,1]. Then a second random variable U is selected from a uniform distribution over (0,T]. Determine the probability Pr(U>1/2).

Problem B:
Suppose 3 identical parts are chosen for inspection. Each part be defective with probability p independently of the other parts. Parameter p is, in turn, a uniform random variable over the interval (0,1]. What is the probability that exactly two parts are defective?

Homework Equations



for a uniform distribution over (a,b), the density is f(x) = 1/(b-a)

for a binomial distribution, n trials each with probability p of success, Pr(k successes) = (n!/(k!(n-k)!))pk(1-p)n-k

The Attempt at a Solution



Problem A:
It seems like we want the marginal distribution for U.

The density of T is fT(t) = 1. The conditional density of U is fU|T=t(u) = 1/t.

The joint density is the conditional of U times the marginal of T, so fTU(t,u) = 1/t.

The marginal density for U is the joint integrated for T over its bounds, or fU(u) = integral(T: 0 to 1) of (1/t)dt. This integrates to fU(u) = substitute(x: 0 to 1) of ln x. Except that resolves to 0 minus negative infinity.

The setup and integration seems pretty simple, did I do something wrong? Or is my entire approach wrong?Problem B:
P has density 1. X is a binomial distribution with success representing a defective part, so 3 trials with probability p of "success". Thus the conditional probability mass for X is pX|P=p(x) = (6/(x!(3-x)!))px(1-p)3-x. I want pX(2).

To get the marginal probability for X, I need to integrate for p on the conditional mass for X times the marginal density for P; since P's marginal density is 1, that's just the conditional mass for X.

Thus, I want to solve pX(x) = (6/(x!(3-x)!)) * integral(p: 0 to 1) of px(1-p)3-xdp. I have no idea how to actually integrate that; is there a formula for reducing it to a sum in terms of X? Integration by parts doesn't look like it'll get me anywhere, and Wolfram Alpha's fancy integrator gave me a huge string of stuff that involved a lot of something called the hypergeometric function...
 
Last edited:
Physics news on Phys.org
The marginal density for U is the joint integrated for T over its bounds, or fU(u) = integral(T: 0 to 1) of (1/t)dt.

The bounds for integration with respect to U vary with T. They aren't 0 to 1 for all values of T. Visual the joint density as f(x,y). It is non-zero on half the unit square. So if you integrate with respect to U, the bounds of integration must be a function of T. If someone told you to integrate the function f(x,y) = 1/y over a triangular region, you would recognize the problem.

An interesting shorthand sometimes used in probability theory is to state all theorems involving integrals of distributions with the limits of integration from minus infinity to plus infinity. This works with the understanding that the distributions involved will be defined to zero everywhere they need to be. When it comes time to actually do problems, the limits of integration must be worked out because that is the only convenient way to apply calculus to functions that are given by certain formulas on restricted areas and are "zero everywhere else".
 
integral(p: 0 to 1) of px(1-p)3-xdp. I have no idea how to actually integrate that;

Can you do the integral \int_0^1 p^2 (1-p) dp ? You only have to get an answer for 2 defective parts so don't try to do the integration with the symbolic value "x" in the integrand.
 
From what you've described, you are dealing with two random variables, U which is your standard uniform (0,1], and V which is between (0,T] where T is the realization of U.

In this case we know that V <= U. Based on that you need to get a distribution of this.

Since they are both uniform distributions (both with a potential (0,1] parameter/density/configuration/whatever you want to call it), you have to use this information to setup your integral expression for finding a probability density function, and then sub in your limits to obtain the appropriate probability.
 
Stephen Tashi said:
Can you do the integral \int_0^1 p^2 (1-p) dp ? You only have to get an answer for 2 defective parts so don't try to do the integration with the symbolic value "x" in the integrand.

Oh hey, yeah, that makes that one easy! Thanks Stephen! I totally forgot I didn't need the full probability mass function, just that one particular value.
 
Stephen Tashi said:
The bounds for integration with respect to U vary with T. They aren't 0 to 1 for all values of T. Visual the joint density as f(x,y). It is non-zero on half the unit square. So if you integrate with respect to U, the bounds of integration must be a function of T. If someone told you to integrate the function f(x,y) = 1/y over a triangular region, you would recognize the problem.

An interesting shorthand sometimes used in probability theory is to state all theorems involving integrals of distributions with the limits of integration from minus infinity to plus infinity. This works with the understanding that the distributions involved will be defined to zero everywhere they need to be. When it comes time to actually do problems, the limits of integration must be worked out because that is the only convenient way to apply calculus to functions that are given by certain formulas on restricted areas and are "zero everywhere else".

I'm not sure I understand; don't I need to integrate with respect to T to get the marginal density for U? And the bounds for integration with respect to T should be 0 to 1, right? I want things just in terms of U, with no T.

I'm familiar with what you said in the second paragraph, I just thought I'd done that correctly. I guess not. :confused:

Edit: Thought about this some more. I think I was approaching it wrong, trying to get the marginal density of U so I could integrate that for the marginal distribution of U. It sounds like you're saying I should do both integrals in the same equation, and integrate in the opposite order.

I did a quick sketch and it looks like I want integral(T: 1/2 to 1) of dt * ( integral(U: 1/2 to t) of fTU(t,u) dt ). That resolves to (1/2)(1+ln(1/2)), about 0.15, which sounds about right.
 
Last edited:

Similar threads

Replies
6
Views
2K
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
7
Views
1K
Replies
9
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K