gravatar

tarakc02

Tarak Shah

Recently Published

Generating fake names that sound real(ish)
A first look at using historical names data (from the babynames package) to train a model that can generate real-sounding names
Using functions to implement a stack
A simple way to implement a persistent stack by taking advantage of closures
Searching for taxicab numbers
Using lazily evaluated lists to find Ramanujan's taxicab numbers (numbers that can be expressed as the sum of cubes in two different ways)
Leading causes of economic and human damage among storm events
We clean up the storm data from the NOAA and look at damages both in terms of economic damages as well as harm to human health. We find that, since 1996, the major storm causes of damage to human health are tornadoes and excessive heat, while the causers of the greatest economic consequences are floods and hurricanes, but that drought is the leading cause of crop damages in the United States.