Let F be the CDF of X, G(x)=P(X≥x)=1−F(x).
With the memoryless property, G(s+t)=G(s)G(t).
This time, rather than trying to solve for s or t, we are going to solve for the function G, in order to show that it is only the exponential function that has the memorylessness property (in the continuous case).
let s=t⇒G(2t)=G(t+t)=G(t)G(t)=G(t)2G(3t)=G(2t)G(t)=G(t)2G(t)=G(t)3…G(kt)=G(t)kcase where k=1n⇒G(2t2)=G(t2)2 so G(t2)=√G(t)=G(t)1/2G(t3)=G(t)1/3…G(tk)=G(t)1/kcase where k=mn⇒G(mnt)=G(t)m/nlet x∈Q⇒G(xt)=G(t)x for all x≥0now let t=1⇒G(x)=G(1)x=exlnG(1) where lnG(1) is some negative real number =e−λx◼And so now we see that in the continuous case, Expo(λ) is the only distribution with the memorylessness property.
Moment generating functions are an alternative way to describe a distribution.
A random variable X has MGF M(t)=E(etX), as a function of t, if this is finite on some (−a,a) where a>0.
Note that any function of a random variable is itself a random variable, so it makes some sense that we can obtain the expected value E(etX)
But why is this called moment-generating?
E(etX)=E(∞∑n=0Xntnn!)Taylor expand e=∞∑n=0(E(Xn)tnn!) where E(Xn) is called the nth momentLet X have MGF M(t).
If we have independent r.v. X and Y, and we know their respective moment generating functions, then we can easily find the moment generating function for X+Y
M(X+Y)=E(et(X+Y))=E(etX)E(etY) by independenceGiven X∼Bern(p), we obtain the MGF with
M(t)=E(etX)=pet∗q where q=1−pGiven X∼Bin(n,p), we obtain the MGF with
M(t)=E(etX)=(pet+q)n by applying G(kt)=G(t)kGiven standard normal Z∼N(0,1), we obtain the MGF with
M(t)=1√2π∫∞−∞etZ−Z2/2dZ=1√2π et2/2∫∞−∞e−12(Z−t)2dZ completing the square=1√2π et2/2 √2π recall the PDF of standard normal (Lec. 13)=et2/2*And just in case you've forgotten how to complete the square...
If we have observed the sun rising for the past n days in succession, then what is the probability that the sun will rise tomorrow?
Given p is the probability that the sun will rise on any given day Xk, we can consider a consecutive string of days X1,X2,… i.i.d. Bern(p) which is conditional on p. But for the question above, we do not know what p is. Bayesians treat p as an r.v.
We use f as a simple stand-in for the PDF p. We start with the general case:
f(p|Sn=k)=P(Sn=k|p)f(p)P(Sn=k) from Bayes' Rule∝pk(1−p)n−kBut since
we can consider f(p|Sn=k) with proportionality.
Now let's consider the case of our question, where the sun has risen for n days straight:
since f(p)=∫10pndp=1n+1so (p|Sn=n)=(n+1)pn normalizing for a valid PDFand P(Xn+1=1|Sn=n)=∫10(n+1)ppndp Fundamental Bridge, E(p|Sn=n)=∫10(n+1)pn+1dp=n+1n+2View Lecture 17: Moment Generating Functions | Statistics 110 on YouTube.