AwesomeTrains
- 115
- 3
Hello everyone, I'm stuck at a elementary stochastic problem. I have to calculate means, variance and co-variance for two random variables.
Let r,g,b∈ℕ. r red, g green and b black balls are placed in an urn.
The balls are then drawn one at a time with replacement, until a black ball is picked for the first time. (1)
X counts the number of red balls and Y the number of the green ones, until a black one is picked.
Find EX, EY, Var(X), Var(Y) and ρ(X,Y)=cov(X,Y)/σ_Xσ_Y
Expectation value: E(X)=\sum_{i∈I}x_iP(X=x_i)
Multinomial distribution for 3 different balls: P(X=x, Y=y, Z=z)=\frac{n!}{x!y!z!}p_1^xp_2^yp_3^z, with n=x+y+z
The probabilities for drawing a red ball, p_1=\frac{r}{r+g+b}, green p_2=\frac{g}{r+g+b} and black p_3=\frac{b}{r+g+b}
I thought X and Y was i.d.d to the binomial distribution and would therefore have the means EX=np_1 and EY=np_2 but then the condition (1) isn't used.
I then thought about calculating E(X)=\sum_{i∈I}x_iP(X=x, Y=y, Z=1)=\sum_{i∈I}x_iP(X=x, Y=y, Z=1)=\frac{(x+y+1)!}{x!y!1!}p_1^xp_2^yp_3 where I let Z denote the number of black balls drawn.
But I got stuck again, not knowing what variable to sum for, and I think it's wrong to write E(X) because the sum is not only for the random variable X.
Any tips are much appreciated
Alex
Homework Statement
Let r,g,b∈ℕ. r red, g green and b black balls are placed in an urn.
The balls are then drawn one at a time with replacement, until a black ball is picked for the first time. (1)
X counts the number of red balls and Y the number of the green ones, until a black one is picked.
Find EX, EY, Var(X), Var(Y) and ρ(X,Y)=cov(X,Y)/σ_Xσ_Y
Homework Equations
Expectation value: E(X)=\sum_{i∈I}x_iP(X=x_i)
Multinomial distribution for 3 different balls: P(X=x, Y=y, Z=z)=\frac{n!}{x!y!z!}p_1^xp_2^yp_3^z, with n=x+y+z
The Attempt at a Solution
The probabilities for drawing a red ball, p_1=\frac{r}{r+g+b}, green p_2=\frac{g}{r+g+b} and black p_3=\frac{b}{r+g+b}
I thought X and Y was i.d.d to the binomial distribution and would therefore have the means EX=np_1 and EY=np_2 but then the condition (1) isn't used.
I then thought about calculating E(X)=\sum_{i∈I}x_iP(X=x, Y=y, Z=1)=\sum_{i∈I}x_iP(X=x, Y=y, Z=1)=\frac{(x+y+1)!}{x!y!1!}p_1^xp_2^yp_3 where I let Z denote the number of black balls drawn.
But I got stuck again, not knowing what variable to sum for, and I think it's wrong to write E(X) because the sum is not only for the random variable X.
Any tips are much appreciated
Alex