====== The Law of Large Numbers ====== The sample mean converges to the population mean. FIXME ===== Animation ===== The sample mean approaches to the population mean as the sample size $n$ grows. ===== R code =====
library(animation)
saveHTML({
    ani.options(interval = 0.1, nmax = 100)
    par(mar = c(3, 3, 2, 1.5), mgp = c(1.5, 0.5, 0))
    lln.ani(cex = 0.6)
}, img.name = "lln_ani", htmlfile = "lln.ani.html", ani.height = 500, 
    ani.width = 600, title = "Demonstration of the Law of Large Numbers", 
    description = c("The sample mean approaches to the population mean as\nthe sample size n grows."))
===== Maintainer ===== This page is maintained by [[wiki:guisheng_lee|Guisheng Lee]].