Bias

If for all , then the estimator is unbiased

Checking using expectation

Accuracy

Mean Square Error (MSE)

When , if MSE is smaller, the estimator is consistent

Check using variance

Precision

Sample Mean Estimator

Unbiased estimator of the population mean

The precision of the sample mean estimator increases with the sample size n

Sample Variance Estimator

  • Sample variance
  • Sample variance is an unbiased estimator

Note that

We take , and since it is unbiased so ,

  • It satisfy the following, where , \mu_{4}=E[(X-\mu)^{4}]\mu=E(X)$

Maximum Likelihood Estimator (MLE)

Value of that maximize , i.e.

It can also be written as the following by taking log

Poison Distribution

Normal Distribution

Central Limit Theorem

cdf of

Confidence Interval

Alpha and critical value

  • C is the x%
  • Alpha is (1 - middle part) / 2, i.e. lower/upper tail

when is known

CI Mean Unknown Variance

  • ,
    • qnorm(1 - alpha)
  • ,
    • -qnorm(alpha)
    • qnorm(alpha, lower.tail=F)

when is unknown

  • Default of cdf
    • qt(1 - alpha, df=n-1)
  • instead of
    • qt(alpha, df=n-1, lower.tail=F)
  • By symmetry
    • -qt(alpha, df=n-1)

    • Default of cdf (lower tail = alpha)
      • qchisq(alpha, df=n-1, lower.tail=T)
    • Split at 1-a mark, but want RHS area
      • qchisq(1-alpha, df=n-1, lower.tail=F)
    • Default of cdf (lower tail = 1-alpha)
      • qchisq(1-alpha, df=n-1, lower.tail=T)
    • Split at a mark, but want RHS area
      • qchisq(alpha, df=n-1, lower.tail=F)

Warning

In the graph, left is , right is
In CI, left is , right is