IID examples of the application of Gartner-Ellis theorem (Cramer's theorem): Gaussian and exponential sample mean (section 3.4)

Reference review: "The large deviation approach to statistical mechanics" by H. Touchette (Phys. Rep. 2009)