Moments
Moment Generating Function
As we can see, we don’t actually have to calculate variance on its own ever. If we calculate the first and second moments, we can figure out the variance. The moment generating function does just this. We can easily find the first and second moment.
Here it is: