<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Greg Rankel on Medium]]></title>
        <description><![CDATA[Stories by Greg Rankel on Medium]]></description>
        <link>https://medium.com/@gregrankel?source=rss-333b2d35b936------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*mYdh52u22mPDgjd_</url>
            <title>Stories by Greg Rankel on Medium</title>
            <link>https://medium.com/@gregrankel?source=rss-333b2d35b936------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 17:02:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gregrankel/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[NYC & COVID-19: Whose at risk and is the curve flattening?]]></title>
            <link>https://medium.com/analytics-vidhya/nyc-covid-19-whose-at-risk-and-is-the-curve-flattening-66a92cff71d7?source=rss-333b2d35b936------2</link>
            <guid isPermaLink="false">https://medium.com/p/66a92cff71d7</guid>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[coronavirus]]></category>
            <category><![CDATA[nyc]]></category>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Greg Rankel]]></dc:creator>
            <pubDate>Tue, 14 Apr 2020 00:59:54 GMT</pubDate>
            <atom:updated>2020-04-16T16:54:58.951Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*Pyf24sMr8KUAwvQEsKZEIw.jpeg" /></figure><p>A little over a month ago, the entire country changed. As one man calls it, an “invisible enemy” started to plague our country and essentially, took it by storm. With this pandemic, New York City (NYC) has started to be called “the epicenter” of this virus with New York now having the most cases within this country as well as many other countries just on it own. Being someone who has lived in New York my entire life as well as a current NYC resident, I took it upon myself to find a way to educate everyone on what has been happening as well as the risk that certain people may be facing. Thanks to NYC Department of Health and Mental Hygiene (DOHMH), who publishes data daily on the COVID-19 virus found at <a href="https://github.com/nychealth/coronavirus-data">https://github.com/nychealth/coronavirus-data</a> , we are able to see data on Daily Confirmed Cases and Deaths, Confirmed cases by Boroughs and Zip Codes, and finally Age and Gender Rates percentages of confirmed cases. After a little bit of cleaning within python, which can be found at <a href="https://github.com/gsrankel/COVID-19">https://github.com/gsrankel/COVID-19</a> , the data was then ready to show us how this virus is really effecting the NYC area.</p><p>Note:</p><p>Although we have gathered data up to April 12th, we use the data up to April 11th for the analysis below. The reason being is that the data is reported daily at 5:00 pm and is still being updated as of the next day when the next daily update comes out.</p><h3>Confirmed COVID-19 Cases</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*7vvllvmHkrnyhlefpVu-lw.gif" /><figcaption>Illustration 1: Total Confirmed Cases from March 2nd to April 11th</figcaption></figure><p>Based on the data provided, NYC alone has had 104,313 confirmed cases as of April 11th with these numbers still climbing as the more recent days get updated in the daily updates. Talk about an alarming number to see. However, within these numbers there is one question that we would like to know: “Are we flattening the Curve?”. On March 2nd, NYC had its first confirmed COVID-19 case. On Friday March 20th, Governor Andrew Cuomo Announced a mandatory stay at home order which went into effect March 22nd at 8pm. At the time of that announcement, they estimated that about 7,100 people tested positive for the COVID-19 virus. Based on the data provided by the DOHMH, that number was really 17,777 people who tested positive per illustration 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*dE4tHnelg0iXm5lVklb_OQ.png" /><figcaption>Illustration 2: Total Confirmed Cases in NYC as of March 20th, 2020</figcaption></figure><p>As you can see, the uptick in the number of reported cases happened between March 11th and 20th. As we look closer to that later date, you can see the number of cases reported each day and the gap between the points get larger and larger, signaling that this was essentially the beginning of what was to come.</p><p>However, we can now start to see that the order that was mandated and the social distancing policies that were put into effect <strong>ARE</strong> working. When we look at the the data in weekly increments, we are able to see that the rate at which confirmed cases are happening is in fact slowing down. When looking at a week over week analysis, we can see that the amount of confirmed cases that were reported dropped 23.59% from 32,456 to 24,799. Per illustration 3 and 4, you can visually start to see a flattening of the curve where the number of confirmed cases each day is indeed slowing down.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*ki8YWC-QWb7XAvzGaSr2dw.png" /><figcaption>Illustration 3: Total Confirmed Cases between March 29th and April 4th</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*xftRjoWtGzuc6nt-YUNgdA.png" /><figcaption>Illustration 4: Total Confirmed Cases between April 5th and April 11th</figcaption></figure><p>When we look at the Day over Day differences between the number of reported cases, we see that in most recent days, this confirms what we have been showing that since March 31st, 2 of the 12 days had an increase in the number of cases reported from the prior day. As we look at illustration 5, numbers reported below 0 signify decreases in confirmed cases from the prior day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*VnisdnmWyYrS6gydGVqqKg.png" /><figcaption>Illustration 5: Confirmed COVID-19 Cases Day over Day as of 4/11/2020</figcaption></figure><h3>Confirmed Deaths</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/863/1*dSpkhjmkm3cPis9NhX65xQ.png" /><figcaption>Illustration 6: Total Confirmed COVID-19 Deaths as of April 11th</figcaption></figure><p>When we look at the number of casualties that this virus has caused(illustration 6), it’s disturbing to know how many lives it has already taken and will take going forward. As of April 11th, 6,150 lives have been lost due to this virus. Since the first reported death on March 11th, the death rate has tended to follow the same trends as the confirmed cases, but with a lag time of about a week. Similar to what we saw in the Confirmed Cases, we see the curve trending upwards starting around March 24th with it visually looking like the number have started to slow in recent days. As we looked at a week over week analysis in illustrations 7 and 8, we reported 2,621 cases from April 5th-April 11th which represents a 6.67% increase from the 2,457 deaths reported from the week prior.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*xkeuGwsVVQioiTXb5gaQ6Q.png" /><figcaption>Illustration 7: Total Confirmed Deaths between March 29th and April 4th</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*Fu15M8JgpFoUGOI7M0C92Q.png" /><figcaption>Illustration 8: Total Confirmed Deaths between April 5th and April 11th</figcaption></figure><p>However, there is good news. In illustration 9 we see in the day over day analysis the number of deaths that are being reported is going down as 4 of the past 5 days have seen a decrease in reported deaths from the day before and the trend starting to point in the right direction. Still, this virus is taking too many lives and I, and everyone else, hope to see this number get to zero sooner rather than later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*SDe52V6hrTmjU5eUc-zPbw.png" /><figcaption>Illustration 9: Confirmed COVID-19 Deaths Day over Day as of April 11th</figcaption></figure><h3>Confirmed Cases by Borough and Zip Code</h3><p>We will now take a dive into the areas around NYC that present a higher risk for people. After a little bit of cleaning of the data, we were able to create a CSV that was able to display Confirmed Cases and the Percent of Confirmed Cases by both Borough and Zip Code. Calculation for Percent of Confirmed Cases is the Total amount of Confirmed Cases over Total amount of People who got tested. When looking at this data, I needed to determine a baseline for how I would define an area that would be more at risk than others. To that end, I decided to use the Averages Confirmed Cases per Zip Codes and also the Average Percent of Confirmed Cases per Zip Code as a means of determining if certain Zip Codes are high risk areas where people are testing positive. As of April 11th, the Averages Confirmed Cases per Zip Code was 587.90 and the Average Percent of Confirmed Cases per Zip Code was 55.58%.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vFEdmk7IxKP0YZ0PtQZfzw.png" /><figcaption>Illustration 10: Total Confirmed Cases by Zip Codes as of April 11th. Illustration 11: Percent of Total Confirmed Cases by Zip Code as of April 11th</figcaption></figure><p>Per illustrations 10 and 11, we are able to see by the darker shade of blue the areas that are more at risk based on our baseline established above. As we can see, the areas that have been more exposed to the virus have been by number of people have been areas like the Bronx, Brooklyn, and Staten Island. However when we go to look at the rate at which people are testing positive, Queens tends to have areas in which people who are being tested are more likely to have it while you look at Staten Island in which a lot of people have been confirmed to have the virus, yet, more people have been tested and have come back and have negative results. Manhattan also shows to be a low risk which tends to be a surprise as Manhattan is more dense then these other areas which would expect one to lead that more people would be getting infected.</p><p>In Illustration 12 and 13, we look at a box plot with all the Zip Codes. As we see in Illustration 12 below, our data tends to skew to the right where although our average is 587.90, our median is 468.5 showing that half our data is actually below the average. When also observing this chart, we notice the one point all the way to the right which represents the Zip Code with the most confirmed cases. This is Zip Code 11368 located in Queens. In fact, the two most right points are both located in Queens and boarder each other as that point is Zip Code 11373.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/1*OIKkYBwe9xR36GLwXUz7jw.png" /><figcaption>Illustration 12: Box Plot of Confirmed Cases by Zip Code</figcaption></figure><p>Now when we examine illustration 13 below with Percent of Confirmed Cases by Zip Code, our data here tends to skew to the left. This is telling us that there are more Zip Codes in NYC that are testing above the average as the average is 55.58% and the median is 57.32%. Contrary to what’s happening in illustration 12, this just shows me that although there might not be a lot of positive cases happening within your Zip Code, you can still be more likely then not to contract the virus compared to a high volume area of confirmed cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*w2t16yZhPi7C9Ze7R2IW6g.png" /><figcaption>Illustration 13: Box Plot of Percent of Confirmed Cases by Zip Code</figcaption></figure><p>We will now break down some statistics on each Borough below:</p><h3>Bronx</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YnaCRh4q3IPmLVuGEP-dag.png" /><figcaption>Illustration 14: Bronx Borough with High and Low Risk areas by Zip Code</figcaption></figure><ul><li>Borough with highest average Confirmed Cases by Zip Code at 884.80</li><li>Borough with third highest average of Percent of Confirmed Cases by Zip Code at 58.22%</li><li>Zip Code with most confirmed cases: 10467 with 1,796</li><li>Zip Code with Percent of Highest Confirmed Cases: 10468 at 66.20%</li></ul><h3>Brooklyn</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PrgswLvX8gnFIEneqMq5Mw.png" /><figcaption>Illustration 15: Brooklyn Borough with High and Low Risk areas by Zip Code</figcaption></figure><ul><li>Borough with second highest average Confirmed Cases by Zip Code at 732.8</li><li>Borough with second highest average of percent of Confirmed Cases by Zip Code at 59.14%</li><li>Zip Code with most confirmed cases: 11219 with 1,679</li><li>Zip Code with percent of highest Confirmed Cases: 11219 at 67.81%</li></ul><h3>Manhattan</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K7tvUIqB9Qb2NXKkXYdKQA.png" /><figcaption>Illustration 16: Manhattan Borough with High and Low Risk areas by Zip Code</figcaption></figure><ul><li>Borough with lowest average confirmed cases by Zip Code at 304.7</li><li>Borough with lowest average of Percent of Confirmed Cases by Zip Code at 45.82%</li><li>Zip Code with most confirmed cases: 10029 with 824</li><li>Zip Code with Percent of Highest Confirmed Cases: 10031 at 65.35%</li></ul><h3>Queens</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V9ndVESI8kz5h-7-PHbabg.png" /><figcaption>Illustration 17: Queens Borough with High and Low Risk areas by Zip Code</figcaption></figure><ul><li>Borough with second lowest average confirmed cases by Zip Code at 556.9</li><li>Borough with highest average of Percent of Confirmed Cases by Zip Code at 60.69%</li><li>Zip Code with most confirmed cases: 11368 with 2,398</li><li>Zip Code with Percent of Highest Confirmed Cases: 11368 at 79.01%</li></ul><h3>Staten Island</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cMmSt2sOVSLHvcAFzIEuZA.png" /><figcaption>Illustration 18: Staten Island Borough with High and Low Risk areas by Zip Code</figcaption></figure><ul><li>Borough with third highest average confirmed cases by Zip Code at 664.00</li><li>Borough with second lowest average of Percent of Confirmed Cases by Zip Code at 48.63%</li><li>Zip Code with most confirmed cases: 10314 with 1,569</li><li>Zip Code with Percent of Highest Confirmed Cases: 10303 at 56.12%</li></ul><h3>Percent of Confirmed Cases and Death by Age</h3><p>What most people have been hearing in the news is that only the elderly are the ones who are most susceptible to this virus. While part of that is true, the younger generation does seem to have just as likely a chance of getting it. Per illustration 19 below, starting with March 26th, it shows how age group is broken out into 5 different categories and the percent at which these age groups are getting the virus as well as what percent that these age groups are dying.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*JB6vRl0hKWozsW7M5akwYA.gif" /><figcaption>Illustration 19: Percent of Cases and Deaths by Age Group over a time period of March 26th to April 11th</figcaption></figure><p>As we can see on the first day that this data was published, it shows that people between the ages of 45–65 were actually the one who were contracting this virus the most. Over time, we can see that the elderly percentage has grown, with it now being 29.42% of people over 75 years old as and 26.37% of people between ages 65–74. When looking at the age group of 18–44 years old, although the percent of people getting the virus over time is decreasing, there is still that chance that you may contract the virus, with the current day chance being at 16.74%.</p><p>When it comes to death however, this virus from what we hear over the news is in fact affecting the elderly. Over 90% of the reported deaths from this virus have come from people over the age of 65 and that number has remained consistent over the course that the data has been collected.</p><h3>Percent of Confirmed Cases and Death by Gender</h3><p>As the COVID-19 virus first started spreading, the data shows that there were more males who were being confirmed with having it rather than females. Although the change has been small at the time that this data has been collected, the gap between gender has gotten smaller. The percentage on March 26th showed that males were at 58.38% while woman were at 41.62%. As of April 12th, 2020 though, the percentage of males is now 56.07% while percentage of females is 43.93%</p><p>When it comes to Death Rate though, the gap has been shown to be getting wider between both males and females. At March 26th, it was 74.18% of males and 25.82% of females. Now we see a little bit wider margin with 76.38% of males and 23.62% of females as of April 11th.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*_tkLCx1OicqncvpJWQbXGg.gif" /></figure><h3>Conclusion</h3><p>In conclusions, from the data that we have gathered, we are starting to see trends In the right direction when it comes to slowing down the spread of this virus within the NYC area. We can see that the social distancing and stay at home laws that were put into effect are making a positive impact on slowing down this virus.</p><p>When it comes to risks, we learned males in their late ages, particular over the age of 65 are the ones who have to be most careful when it comes to this virus. We also established that there are certain areas of the NYC area tend to be more at risk, such as the Bronx, Brooklyn, as well as certain area code within Queens.</p><p>I’ve taken the time to create an interactive Dashboard for everyone to see with all the information above. I will be updating the data regularly for everyone to see trends in whats happening and for everyone to be aware of the situation in your area! See below to for the link to the Tableau Dashboard and let me know what you see in the data!</p><p><a href="https://public.tableau.com/profile/gregory.rankel#!/vizhome/NYCCOVID-19Analysis/Dashboard1">https://public.tableau.com/profile/gregory.rankel#!/vizhome/NYCCOVID-19Analysis/Dashboard1</a></p><h4>References:</h4><ul><li><a href="https://www.health.ny.gov/statistics/cancer/registry/appendix/neighborhoods.htm">https://www.health.ny.gov/statistics/cancer/registry/appendix/neighbor</a></li><li><a href="https://github.com/nychealth/coronavirus-data">https://github.com/nychealth/coronavirus-data</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66a92cff71d7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/nyc-covid-19-whose-at-risk-and-is-the-curve-flattening-66a92cff71d7">NYC &amp; COVID-19: Whose at risk and is the curve flattening?</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A New Hope (or Journey for that matter)]]></title>
            <link>https://medium.com/@gregrankel/a-new-hope-or-journey-for-that-matter-5e07114c5373?source=rss-333b2d35b936------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e07114c5373</guid>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Greg Rankel]]></dc:creator>
            <pubDate>Wed, 18 Dec 2019 22:19:28 GMT</pubDate>
            <atom:updated>2019-12-18T22:19:28.564Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*1ecdc1BCLxjERgz4BIUWQg.png" /></figure><p>Given the Christmas mood and the final Star Wars movie in the Skywalker saga coming out, I thought I give my first blog title a Star Wars theme for this week. Everyone has a different story on what got them into Data so thought i’d share mine.</p><p>After graduating from The University of Buffalo with a Bachelors of Science in Accounting in 2015, my natural transition was to go into Public Accounting where I landed my first job at a public accounting firm as an audit associate. After a couple years there, I started to think if accounting was a path I wanted to continue on as thoughts started to creep in my head of looking to transition. In search of a new challenge, I moved to the private where I worked as a corporate staff accountant for an insurance brokerage firm where I stayed for a year. I learned after that I started to be ready for a change, but had to make sure that the decision was right which lead me back into public, focusing on commercial real estate properties for the next year. This brings me to present day where I have now started my Data journey at General Assembly in their Data Science Immersive (DSI) Program.</p><p>I first heard about General Assembly from a family friend who currently works in the tech space as a means of sharpening some of my skills in hopes of a possible transition from accounting into financial planning and analysis. I started off in a part time course learning Excel, SQL, and Tableau and throughout the course, I found it fascinating the various ways to manipulate and present data. Seeing that in the modern day how data drives so many decisions that small and big companies are making, I was eager to learn more and thus began to pursue my career in Data.</p><p>During this twelve week DSI program, I hope to learn and build off different programs used for Data (Python, SQL, etc.) and become efficient in using them to perform queries or even basic equations. I look forward to learning the different library’s that are embedded within Python such as Pandas, Numpy’s, Seaborn, Matplotlib, Scipy Stats (List can go on and on!) to help me clean, analyze and visualize data and a more efficient matter. Being able to build out predictive models to help various teams within a company solve issues is also something that i’ll be excited to learn as learning this skill this will help me have the pulse of all different departments within a company.</p><p>So onward I go into the next chapter of my life, along with the 30 plus people in the New York DSI program in aspirations for a career pivot like myself or as a mean for sharpening their skills. It’s a new journey, a new hope.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e07114c5373" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>