Most of us who have done any programming know that virtually all languages allow you to execute another program from within a program. For example, you start your program, which may start another process (via calling Execute or the like) that’s a self-contained program by itself, resulting in another process or spawn another thread as […]
Tag: STEM
Analyzing NFL Quarterbacks Stats
Data Science in sports is a huge deal! Even though most professional sports teams have been using them as a core part of their strategy, it was relatively recently that it got much more attention in the NFL…as soon as Seahawks dedicated a team to analytics! As they blew out records in virtually all positions […]
Peek into Infographics
From newspapers and magazines, online and offline, Infographic is the rage. They convey numbers in an attractive, easy to understand visuals for most people. There are everywhere! In this blog, I’ll offer some practical advice, tips, and resources. First, the caveats… While Infographic can be a lot of fun to make, avoid these pitfalls and […]
The 3n+1 Problem & More! (Part 2)
This is a continuation (part 2) of my blog titled The 3n+1 Problem & More! I recommend you read that first to get the context, or it’ll be really boring or at least confusing 🙂 In the previous blog we generated a sequence of numbers starting from ANY number and converging to 1…always! I also […]
The 3n+1 Problem & More! (Beyond Collatz)
Recently, I was reading a post about an mathematical formula when applied to any number (positive integers) will end up at 1, no matter odd or even. It’s called the 3n+1 problem or the Collatz Conjecture. So, of course, I tested the theory and sure it works. Actually, when you think about it, it’s no […]
Analyzing Age, Height, Weight, BMI connection
I pulled down some real data from CDC (https://wwwn.cdc.gov/) which are relatively recent and contains data on 2 year cycles. The data cover people’s age, height, and BMIs (broken up by genders). I wanted to see how age and height correlated, how height and weight correlated, and how BMIs vary by age for both male […]
Don’t always trust your brain!
Surely, you’ve seen a myriad of optical illusions on the internet. Some are funny, inexplicable, confusing, and there are some you may not have fallen for. I present one of my favorite ones here. Take a look at this image: Most likely, you’ll see different colors of sphere in the above image. Ranging from yellowish, […]
How Many Dogs In the Park—in the Past and Future?
Here’s the Scenario: Based on our observations over a month, we find that there are 40 dogs on average in a off-leash park during an hour’s time-frame during the day in its open hours. We want to find out the chance of having a specific number of dogs at any given time in the park […]
Getting to know our presidents
Let’s gather and organize some facts about all the U.S. presidents to-date and slice and dice the data to see what insights we can garner. First, I looked at various, reliable sources and shaped the data in a way I could work with. For example, normalizing the data, converting to appropriate scales and units, bucketing, […]
Need a baby name? Or just love data?
In either case, read on. I collected a dataset of poplular baby names from OpenData government site of City of New York ranging from 2011 through 2016…exactly 19,418 records. Original dataset view: What I want to do is find out: a) Most popular names b) Less popular names (or rare names used) c) Slice it […]