Similar in spirit to John Rauser's 2014 Strata Conference + Hadoop World keynote "Statistics Without the Agonizing Pain" (https://youtu.be/5Dnw46eC-0o).
Is that code answers your question? No offense but the main message of that talk is if you can do a for loop than you can do statistics simulation in any programming environment. Like in R.
m <- 0
nexp <- 100000
for (i in 1:nexp) {
if (sum(rnorm(30, mean=0, sd=1) < 0) >= 22) {
m <- m + 1
}
}
I actually watched the majority of this, it's a very interesting talk. I'd imagine that all of us are going to need to use at least some statistics one day, so I consider it time well spent.
As a non-bilaterally deaf person, I agree. Although TBF, I think it should be an OS-level feature built into the sound settings, instead of asking everyone else to reinvent the wheel all the time.
Yes, I am aware, but I'm very much in favor of removing the useless jack. I have already transitioned into using bluetooth earpuds and headphones with my mobile devices and laptops, and I will never go back to cables.
I found this comment on youtube by asperous helpful:
If you are on a mac you can go under accessibility -> sound -> play stereo as mono. This will balance the sound.
24 comments
[ 3.6 ms ] story [ 64.1 ms ] threadBack then, I wrote a small tutorial on how to implement and animate the bootstrap technique in R/ggplot2 based on the talk: http://minimaxir.com/2015/09/bootstrap-resample/
m <- 0 nexp <- 100000
for (i in 1:nexp) { if (sum(rnorm(30, mean=0, sd=1) < 0) >= 22) { m <- m + 1 } }
print(m / nexp)
(*and I will upvote you)
sounds like a really interesting talk, but it's painful to listen to from only 1 ear.
This is like if some guy was punching people on the street, instead of removing the guy you'd just tell people to duck.