Q.6.14

Question

Let N be a geometric random variable with parameter p. Suppose that the conditional distribution of X given that N = n is the gamma distribution with parameters n and λ. Find the conditional probability mass function of N given that X = x. 

Step-by-Step Solution

Verified
Answer

Conditional probability mass function is f(NX=x)=limn[ln(q)+ln(x)+ln(λ)]xx-1;x>1

1Step 1:To find

The conditional probability mass function.

2Step 2: Explanation

It is given that N ~geometric(p)

f(N=n)=qnp

The conditional distribution function of X is f{XN=n}~Gammadistribution(n,λ)

This implies

f{XN=n}=λnxn-1e-λxΓn;x>0

It is required to find f{NX=x}

Therefore, this can be obtained with f(NX=x)=f(NX)f(X)

Now find f(NX)

f(NX)=f(XN=n)×f(N)=λnxn1eλxΓn×qnp

3Step 3: To find the value of f ( X = x )

f(X=x)=0f(XN=n)×f(N)f(X=x)=0λnxn1eλxΓn×qnpf(X=x)=Limn(λnxn1qqneλxeλxx1ln(q)+ln(x)+ln(λ))eλxpxΓn(using Maple software)

On simplification

f(X=x)=Limnλnxn1qnx1ln(q)+ln(x)+ln(λ)eλxpxΓn

Now the conditional probability mass functionf{NX=x}

f(NX=x)=f(NX)f(X)=2′′q′′h×g×[ln(q)+ln(x)+ln(λ)]x2nx′′gx1g′′=limn[ln(q)+ln(x)+ln(λ)]xx1;x>1