Iterative expectation of continuous and discrete distributions

Click For Summary
SUMMARY

The discussion centers on calculating the expected value and distribution of a random variable Y, given that X follows a uniform distribution on (0,1) and Y follows a binomial distribution conditional on X. The key equations used include the law of total expectation, where E[Y] is computed as E[E[Y|X]]. The participant successfully derived E[Y] but sought assistance in determining the distribution of Y, specifically using the integral of the conditional probability P(Y=y|X=x) over the interval [0,1]. The final distribution of Y is linked to the beta function.

PREREQUISITES
  • Understanding of uniform distributions, specifically X ~ uniform(0,1)
  • Knowledge of conditional distributions, particularly binomial distributions P(Y=y|X=x)
  • Familiarity with the law of total expectation and its application in probability
  • Basic calculus skills for evaluating integrals and summations
NEXT STEPS
  • Learn about the properties of the beta function and its relationship to binomial distributions
  • Study the derivation of expected values for conditional distributions
  • Explore the concept of joint distributions and their applications in probability theory
  • Investigate the use of Monte Carlo simulations for approximating distributions
USEFUL FOR

Students and professionals in statistics, data science, and mathematics who are working with probability distributions, particularly those interested in conditional distributions and their expectations.

cielo
Messages
14
Reaction score
0

Homework Statement


Suppose X ~ uniform (0,1) and the conditional distribution of Y given X = x is binomial (n, p=x), i.e. P(Y=y|X=x) = nCy x^{y} (1-x)^{n-y} for y = 0, 1,..., n.

Homework Equations


FInd E(y) and the distribution of Y.

The Attempt at a Solution


f(x) = \frac{1}{b-a} = \frac{1}{1-0} =1E[Y] = E [E[Y|X=x]
= \int E[Y|X=x] f(x) dx where the integral is from o to 1
= \int [\Sigma y f(y|x)] f(x) dx
= \int [\Sigma y nCy x^{y} (1-x)^{n-y}] f(x) dx

...but I do not know anymore what to do next...please help.
 
Physics news on Phys.org
cielo said:

Homework Statement


Suppose X ~ uniform (0,1) and the conditional distribution of Y given X = x is binomial (n, p=x), i.e. P(Y=y|X=x) = nCy x^{y} (1-x)^{n-y} for y = 0, 1,..., n.


Homework Equations


FInd E(y) and the distribution of Y.


The Attempt at a Solution


f(x) = \frac{1}{b-a} = \frac{1}{1-0} =1


E[Y] = E [E[Y|X=x]
= \int E[Y|X=x] f(x) dx where the integral is from o to 1
= \int [\Sigma y f(y|x)] f(x) dx
= \int [\Sigma y nCy x^{y} (1-x)^{n-y}] f(x) dx

...but I do not know anymore what to do next...please help.

You know the conditional distribution of Y given X. Use that to find E[Y | X]. The answer is a function of X - find its expectation with respect to X to get E[E[Y |X]] = E[Y]
 
Thank you so much for your very good idea. Because of that, I already got the E[Y].

Can you still help me in finding the distribution of Y?

I am confused about this one I made:

P[Y] = \int^{0}_{1} \left[nCy x^{y} (1-x)^{n-y} dx\right]

I understand that is a a beta function if we ignore the constant. But can you help me find the final distribution of Y?
 

Similar threads

Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
8
Views
2K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K