Stochastic_Jimmy
New member
- Joined
- Jan 10, 2013
- Messages
- 27
I was hoping someone could tell me if I'm on the right track with this problem:
So we have P(X=k)=(kn)pk(1−p)n−k for k∈[0,n] and P(Y=j)=n+11 for j∈[0,n]. Then:
P(W=w)=P(X+Y=w)=w∑P(X=k,Y=w−k)=w∑P(X=k)P(Y=w−k), by independence.
Since Y only takes on values between 0 and n, we have for w−k∈[0,n]:
P(W=w)=0≤w−k≤n∑n+1(kn)pk(1−p)n−k.
Am I on the right track here? Thanks in advance for any comments!
Let X and Y be independent random variables where X∼Binomial(n,p) and Y is discrete uniform, equally likely to take on the values 0,1,2,…,n. Find P(W=w), where W=X+Y.
So we have P(X=k)=(kn)pk(1−p)n−k for k∈[0,n] and P(Y=j)=n+11 for j∈[0,n]. Then:
P(W=w)=P(X+Y=w)=w∑P(X=k,Y=w−k)=w∑P(X=k)P(Y=w−k), by independence.
Since Y only takes on values between 0 and n, we have for w−k∈[0,n]:
P(W=w)=0≤w−k≤n∑n+1(kn)pk(1−p)n−k.
Am I on the right track here? Thanks in advance for any comments!
Last edited: