Skip to content

Instantly share code, notes, and snippets.

@ProgramErgoSum
ProgramErgoSum / gist:5316008387746fcd84de
Created March 23, 2015 07:23
Inter-arrival times of births for exponential distribution.
# statinf-exp-distro
While I was searching for real examples of exponential distribution, I came across this interesting piece[1].
"To see an example of a distribution that is approximately exponential, we will look at the interarrival time of babies.
On December 18, 1997, 44 babies were born in a hospital in Brisbane, Australia. The times of birth for all 44 babies were
reported in the local paper; you can download the data from http://thinkstats.com/babyboom.dat. "
Later, I came across the Centers for Disease Control and Prevention web site[2] that has data (~200 MB !) on births in the US.
The User Guide PDF [3] document has the columns for date and time of birth. I want to use this data in a way similar to course