I am stuck trying to integrate
$$\int_{-\infty}^\infty {e^{-\frac{2}{b}|x - \mu |}}dx$$
Incidentally, I'm interested in solving equation (5) in this paper using the Laplace distribution. I just got stuck integrating an absolute value.
I am stuck trying to integrate
$$\int_{-\infty}^\infty {e^{-\frac{2}{b}|x - \mu |}}dx$$
Incidentally, I'm interested in solving equation (5) in this paper using the Laplace distribution. I just got stuck integrating an absolute value.
Hint. We have $$\int_{-\infty}^\infty e^{-\frac2b|x-\mu|}\,dx =\int_{-\infty}^\mu e^{\frac2b(x-\mu)}\,dx +\int_{\mu}^\infty e^{-\frac2b(x-\mu)}\,dx\ ,$$ and I think you should find both of those integrals pretty easy.