I have the following 2 parameter exponential density function:
a*e^(-a*[x-b]), where x>=b, a>0, neg infinity < b < pos infinity
I start by evaluating:
Mean = int[x*a*e^(-a*[x-b])]dx bounded by neg. and pos. infinity
I solve the integral with integration by parts to:
-x*e^(-a*[x-b]) - (1/a)*e^(-a*[x-b]) evaluated between neg. and pos. infinity.
The Mean comes to be pos. infinity. If I change the lower bound the integral is evaluated over I get that the Mean is (1/a), which, I think, is the right answer. I am stumped why I can't generate (1/a) with the bounds of integration as neg. and pos. infinity. Ideas?