What Is the Probability Function of Z When X~Bernoulli(θ) and Y~Geometric(θ)?

Click For Summary

Homework Help Overview

The discussion revolves around finding the probability function of Z, where Z is defined as the sum of two independent random variables: X, which follows a Bernoulli distribution with parameter θ, and Y, which follows a Geometric distribution with the same parameter θ.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the convolution of the probability distributions of X and Y as a method to derive the probability function of Z. There are attempts to express the distributions and to clarify the notation used in the convolution process. Some participants express uncertainty about the correctness of their expressions and seek clarification on the definitions and properties of the distributions involved.

Discussion Status

The discussion is ongoing, with participants providing insights and corrections regarding the formulation of the probability functions. Some have offered guidance on notation and the convolution process, while others are working through their understanding of the relationships between the variables.

Contextual Notes

Participants are navigating the complexities of defining the distributions and their respective cases, with some confusion about the roles of the variables involved in the summation for the convolution. There is an emphasis on ensuring clarity in the definitions and the application of the convolution theorem.

sneaky666
Messages
64
Reaction score
0

Homework Statement


Let X~Bernoulli(θ) and Y~Geometric(θ), with X and Y independent. Let Z=X+Y. What is the probability function of Z?


Homework Equations





The Attempt at a Solution



I am getting
PX(1) = θ
PX(0) = 1-θ
PX(x) = 0 otherwise
pY(y) = θ(1-θ)^y for y >= 0
pY(y) = 0 otherwise


not sure where to go from here...
 
Physics news on Phys.org
Do you know this result? The probability distribution of [itex]Z[/itex] is the convolution of the probability distributions of [itex]X[/itex] and [itex]Y[/itex].
 
no i am not sure, which is why i need help.
 
There's a quick proof of the convolution result at the top of this PDF file:

http://www.dartmouth.edu/~chance/teaching_aids/books_articles/probability_book/Chapter7.pdf

That should get you started. If you get stuck, post what you have and I'll try to help.
 
i did that research and the only thing i could come up with is

PX(X=1) = θ
PX(X=0) = 1-θ
PX(X=x) = 0 otherwise
PY(Y=y>=0) = θ(1-θ)^y
PY(Y=y) = 0 otherwise

so (X=k) and (Y=z-k) since Z = X+Y

PZ(Z=z)=

summation from -inf to inf
θ^2 * (1-θ)^(z-1)
if x=1,y=1

summation from -inf to inf
θ * (1-θ)^(z+1)
if x=0,y=0

0
otherwise


Is this right?
 
I don't think that's quite right. I am going to introduce some notation to make it easier to express the functions:

Kronecker delta function

[tex]\delta(k) = \begin{cases}<br /> 1, & k = 0 \\ 0, & \textrm{otherwise} \end{cases}[/tex]

Unit step function

[tex]u(k) = \begin{cases}<br /> 1, & k \geq 0 \\ 0, & \textrm{otherwise} \end{cases}[/tex]

Bernoulli distribution

[tex]b(k) = (1-\theta)\delta(k) + \theta \delta(k-1)[/tex]

Geometric distribution

[tex]g(k) = \theta (1-\theta)^k u(k)[/tex]

Distribution of sum of independent bernoulli and geometric

[tex]\begin{align*}<br /> s(k) &= \sum_{m=-\infty}^{\infty} g(m) b(k-m) \\<br /> &= \sum_{m = 0}^{\infty} \theta(1 - \theta)^m [(1-\theta)\delta(k-m) + \theta \delta(k-m-1)]<br /> \end{align*}[/tex]

You can now consider three cases:

1) [itex]k < 0[/itex]: the sum is zero
2) [itex]k = 0[/itex]: only one of the two [itex]\delta[/itex] functions is nonzero for some [itex]m \geq 0[/itex]
3) [itex]k > 0[/itex]: both [itex]\delta[/itex] functions are nonzero for some [itex]m \geq 0[/itex]
 
ok i see, but i looked on wikipedia and for the bounoulli dist. and geometric dist. i thought it was

PX(X=1) = θ
PX(X=0) = 1-θ
PX(X=x) = 0 otherwise
PY(Y=y>=0) = θ(1-θ)^y
PY(Y=y) = 0 otherwise

or is this basically what you have? and why did you also add those extra functions in them?, I don't understand how your getting those functions from what i have...
 
sneaky666 said:
ok i see, but i looked on wikipedia and for the bounoulli dist. and geometric dist. i thought it was

PX(X=1) = θ
PX(X=0) = 1-θ
PX(X=x) = 0 otherwise
PY(Y=y>=0) = θ(1-θ)^y
PY(Y=y) = 0 otherwise

or is this basically what you have? and why did you also add those extra functions in them?, I don't understand how your getting those functions from what i have...

Yes, your functions and mine are equivalent. I added the extra functions so I don't have to express them as individual cases (x = 1, x = 0, otherwise) as you did.

To see that mine are the same as yours, just plug in various values of [itex]k[/itex].

For example, if

[tex]b(k) = (1 - \theta)\delta(k) + \theta\delta(k-1)[/tex]

then notice that [itex]\delta(k)[/itex] is zero except when [itex]k = 0[/itex], and [itex]\delta(k-1)[/itex] is zero except when [itex]k = 1[/itex].

Thus [itex]b(0) = (1 - \theta)(1) + 0 = (1 - \theta)[/itex] and [itex]b(1) = 0 + \theta(1) = \theta[/itex] and [itex]b(k) = 0[/itex] if [itex]k[/itex] is neither 0 nor 1.

Similarly with the geometric distribution.

The point is that it makes it possible to write a one-line expression that is valid for all [itex]k[/itex], which in turn makes it easier to express the convolution sum.

By the way, this isn't some weird invention of mine - it's a standard thing to do when working with functions defined in pieces, and the notation ([itex]\delta(k)[/itex] and [itex]u(k)[/itex]) are quite standard as well.
 
i have one last concern about why my answer is wrong:

since the main equation is
[tex]\sum[/tex] P(X=k)P(Y=z-k) for all k
inf on top
k=-inf on bot

so how I got my answers is because of
PX(X=1) = θ
PX(X=0) = 1-θ
PX(X=x) = 0 otherwise
PY(Y=y>=0) = θ(1-θ)^y
PY(Y=y) = 0 otherwise

i have 3 cases, if X=k is 0, 1, or something else
so if k = 0 then you would have
P(X=k)P(Y=z-k)
P(X=0)P(Y=z-0)
(1-θ)P(Y=z)
(1-θ)θ(1-θ)^z
θ(1-θ)^(z+1)

so if k = 1 then you would have
P(X=k)P(Y=z-k)
P(X=1)P(Y=z-1)
θθ(1-θ)^(z-1)
θ^2(1-θ)^(z-1)

so if k != 0,1 then you would have
P(X=k)P(Y=z-k)
0*P(Y=z-k)
0

(and of course the summation beside them, i didnt add it here)

So i don't understand what is wrong here?
 
  • #10
You are mixing up your [itex]k[/itex] and [itex]z[/itex]. One of them is a dummy variable used in the summation, and the other one is the letter that you use to fill in the blank:

P(X + Y = ____)

So let's pick which one is which and stick with it.

If you want to fill in the blank with z,

[tex]P(X + Y = z) = \sum_{k=-\infty}^{\infty} P(X = k) P(Y = z - k)[/tex]

then [itex]k[/itex] is the dummy variable in the sum (it doesn't appear on the left side at all). So your three cases apply to [itex]z[/itex], not [itex]k[/itex]:

Case 1: z < 0
Case 2: z = 0
Case 3: z > 0

Try that and see if it helps.
 

Similar threads

Replies
17
Views
3K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 18 ·
Replies
18
Views
2K
Replies
1
Views
3K
Replies
29
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K