Slide 1: Introduction

  • Definition: Central Limit Theorem (CLT)
    • A fundamental concept in statistics that states that the distribution of the sum (or average) of a large number of independent, identically distributed random variables approaches a normal distribution, regardless of the original distribution.

Slide 2: Importance of CLT

  • The Central Limit Theorem is crucial for statistical inference.
  • It allows us to make inferences about population parameters based on the distribution of sample statistics.

Slide 3: CLT Statement

  • For a sample of size \(n\) from a population with mean \(\mu\) and standard deviation \(\sigma\): \[ \bar{X} \sim N\left(\mu, \frac{\sigma}{\sqrt{n}}\right) \]
    • \(\bar{X}\): Sample mean.

Slide 4: Sample Mean Convergence

  • As the sample size \(n\) increases, the distribution of sample means \(\bar{X}\) converges to a normal distribution.

    \[ \lim_{{n \to \infty}} \left(\bar{X} \sim N\left(\mu, \frac{\sigma}{\sqrt{n}}\right)\right) \]

  • This convergence is a fundamental property of the Central Limit Theorem.

Slide 5: CLT in R

# Generate sample data from a non-normal distribution
set.seed(101)
non_normal_data <- rexp(1000, rate = 0.2)

# Create a ggplot to visualize CLT
ggplot(data.frame(x = non_normal_data), aes(x = x)) +
  geom_histogram(binwidth = 1, fill = "lavender", color = "white", alpha = 0.7) +
  ggtitle("Distribution of Non-Normal Data") +
  theme_minimal()

Slide 6: Visualizing CLT (ggplot)

  • Here is the graph from the previous slide

Slide 7: Visualizing CLT (plotly)

Slide 8: Sample Mean Distribution

Slide 9: CLT in Action

  • As the sample size increases, the distribution of sample means becomes more normal.
  • This holds true regardless of the shape of the original population distribution.

Slide 10: Application in Practice

  • CLT is widely used in hypothesis testing, confidence interval estimation, and other statistical methods.
  • It allows for making valid statistical inferences even when the population distribution is unknown or not normal.

Slide 11: Conclusion

  • The Central Limit Theorem is a cornerstone of statistical theory.
  • It enables the use of normal distribution-based methods in a variety of real-world scenarios.