Central limit theorem

Practicing Statistics Interview Questions in Python

Conor Dewey

Data Scientist, Squarespace

What does it mean?

  Central limit theorem

1 Wikimedia
Practicing Statistics Interview Questions in Python

Why does it matter?

  Hypothesis testing

1 Wikimedia
Practicing Statistics Interview Questions in Python

Law of large numbers

Law of large numbers

1 StackExchange
Practicing Statistics Interview Questions in Python

Simulating CLT in Python

np.random.randint(start, end, size)

1 How to Visualize the Central Limit Theorem in Python
Practicing Statistics Interview Questions in Python

List comprehension

x = [1,2,3,4]
out = []
for item in x:
    out.append(item**2)
print(out)
[1, 4, 9, 16]
x = [1,2,3,4]
out = [item**2 for item in x]
print(out)
[1, 4, 9, 16]
Practicing Statistics Interview Questions in Python

Summary

  • Central limit theorem
  • Law of large numbers
  • Simulating die rolls
  • List comprehension
Practicing Statistics Interview Questions in Python

Let's prepare for the interview!

Practicing Statistics Interview Questions in Python

Preparing Video For Download...