#### bundaberg87

##### New member

- Joined
- Nov 1, 2009

- Messages
- 1

I understand that the first derivative of the generating function evaluated at Z=1 would give the answer to the question. But it seems like coming up with the probabilities for the different values of X will not be easy. I'm wondering if there is an easier method to go about this problem.

2) Suppose GX(z) = (z^2)e^(2z-2). Compute:

(a) E[X].

(b) Var[X].

(c) P[X = 3].

(d) P[X = n].

For part (a), I just differentiated the function and evaluated @ z=1 which gave me an answer of E[X] = 4. Could anyone confirm is this is correct. I am not sure how to find E[X^2) to compute Var[X]. Also for part C and D, I am unsure how to get started with them.

Any help would be appreciated. Thanks.