Statistics

So Imagine, for the sake of brevity, that a population has a true parameter θ as a scalar. And we want to make estimates of this parameter. If we observe n samples from this population, then our prediction θn^ is a function of these samples. θn^=f^(x1,x2,,xn).

Given an assumption that the sample population can replicate the distribution of the total population to some degree, an inference problem deduces the characteristic(s) of the population, given the sample population. What are the methods of statistical inference?

Evaluating estimators:

We can use the mean squared error to evaluate an estimator: $$MSE(\hat{\theta_{n}}) := E[(\hat{\theta}_{n}-\theta)^2]$$
Note that Var(X)=E[(XE[X])2]=E[X2](E[X])2
Now, expanding, we get the following series of equations

MSE(θ^n)=E[θ^n2]+E[θ2]2E[θ^nθ]=Var(θ^n)+(E[θn])2+Var(θ)+(E[θ])22E[θ]E[θ^n]=Var(θ^n)+Var(θ)+(E[θn]E[θ])2=Var(θ^n)+Var(θ)+|bias(θ^n)|2

A caveat is that θ is not a distribution but a fixed value so we can cheat with it and factor it out, and just use E[θ]=θ. So it should be that Var(θ)=0. The above equation is called bias variance tradeoff.

There are some other stuff, about statistics but I hate it.