Hacker News new | ask | show | jobs
by mihoda 1063 days ago
I, a dumb person, simulated sequences of draws and convergence seems way slower than the first poster indicates.

# R lang

samples = 1000

sample_len = 10000

x <- sapply(1:samples, function(i) cumsum(runif(sample_len)))

check_sample_at_len = sample_len

plot(density(x[check_sample_at_len,]))