Zekun Blog

Across the Great Wall, we can reach every corner in the world.

Simulation Method Comparison

Probability and Statistical Inference - 08

Situation Description This time, I will perform a 2 × 4 × 2 factorial simulation study to compare the coverage probability of various methods of calculating 90% confidence intervals. The three fac...

Coverage Probability of MLE

Probability and Statistical Inference - 07

Introduction In statistics, maximum likelihood estimation (MLE) is a method of estimating the parameters of a probability distribution by maximizing a likelihood function, so that under the ass...

Which quantiles of a continuous distribution can one estimate with more precision?

Probability and Statistical Inference - 05

Introduction The median is an important quantity in data analysis. It represents the middle value of a data distribution. Estimates of the median, however, have a degree of uncertainty because (a)...

Visualization Cheat Sheet

A quick reference for efficient data visualization

Created by Zekun Wang Based on Storytelling With Data Download: PDF version

If home-field advantage exists, how much of an impact does it have on winning the world series?

Probability and Statistical Inference - 04

Introduction In team sports, the term home advantage – also called home ground, home field, home-field advantage, home court, home-court advantage, defender’s advantage or home-ice advantage ...

How often does the better team win the World Series?

Probability and Statistical Inference - 03

First, import the package. library(tidyverse) Introduction The World Series is the annual championship series of Major League Baseball (MLB) in North America, contested since 1903 between ...

What’s the difference between Absolute Error and Relative Error?

Probability and Statistical Inference - 02

Absolute error and relative error are calculated in slightly different ways, but that small difference leads to an important change in interpretation. Absolute error is influenced by sample size, w...

Roulette Simulation

Probability and Statistical Inference - 01

Background Roulette is a casino game named after the French word meaning little wheel. In the game, players may choose to place bets on either a single number, various groupings of numbers, the...