This will be updated on a monthly basis
Humberto Basurto-Villa 03-21-2020
According to The Centers for Disease Control and Prevention Human coronaviruses were first identified in the mid-1960s (https://www.cdc.gov/coronavirus/types.html, February 15, 2020). You might have even noticed some old cleaning supplies specifying that they protect against "Coronavirus".
As opposed to being named after a popular beverage coronaviruses are actually named for the crown-like spikes on their surface. There are four main sub-groupings of coronaviruses, known as alpha, beta, gamma, and delta. There are seven types of coronaviruses that can infect people and they are:
COVID-19 seems to be the latest iteration of the disease, having evolved from only affecting animals to making people sick. The first reported case of COVID-19 was reported in Wuhan, China after Chinese authorities treated dozens of cases of pneumonia from an unknown cause (Bryson Taylor, Derrick https://www.nytimes.com/article/coronavirus-timeline.html, March 19, 2020). Chinese DR Li Wenliang, now deceased, was the first to warn others of the Sars-like illness. He was silenced by authorities and the disease spread quickly from there.
#Importing libraries
import numpy as np
import pandas as pd
from matplotlib import pyplot as plt
from datetime import datetime
import matplotlib.dates as mdates
from matplotlib.pyplot import figure
import seaborn as sns
from IPython.display import HTML
%matplotlib inline
import mpld3
mpld3.enable_notebook()
# Python variable viewing settings
pd.set_option('display.max_columns', None)
pd.set_option('display.max_rows', None)
#Loading Dataset to Variable
CGW0320=pd.read_csv('CovidGeoWorldwide.csv')
HTML('''<script>
code_show=true;
function code_toggle() {
if (code_show){
$('div.input').hide();
} else {
$('div.input').show();
}
code_show = !code_show
}
$( document ).ready(code_toggle);
</script>
<form action="javascript:code_toggle()"><input type="submit" value="View Analysis Code"></form>''')
Using data provided by the European Centre for Disease Prevention and Control (https://www.ecdc.europa.eu/en/publications-data/download-todays-data-geographic-distribution-covid-19-cases-worldwide) we can take a look at some of the data from all over the world here are some snippets of their dataset:
CGW0320.head()
CGW0320.tail()
Here is some information about the data:
CGW0320.info()
We can gather some data from just looking at two snippets of the data.
Some of the information is redundant and other is not important to what we want to see which is the number of Cases and Deaths for any given Country/Territory.
#Dropping unecessary columns
CGW0320=CGW0320.drop([
'Day','Month','Year'
],axis=1)
#Setting column to datetime object
CGW0320['DateRep']=pd.to_datetime(CGW0320['DateRep'])
#Finding China data
CGW0320CHINA=CGW0320.where(CGW0320['Countries and territories']=='China')
#Getting rid of the NaN values
CGW0320CHINA=CGW0320CHINA.dropna()
#Dropping unecessary Columns
CGW0320CHINA=CGW0320CHINA.drop(['Countries and territories', 'GeoId'], axis=1)
Here you can see a new dataset derived form the initial parent dataset. In this one I have isolated all of the information it had on on China including the Dates denoted by "DateRep" the Cases and Deaths
#Setting index
CGW0320CHINA.index=CGW0320CHINA['DateRep']
#Dropping obsolete column
CGW0320CHINA=CGW0320CHINA.drop(['DateRep'],axis=1)
CGW0320CHINA.head()
Suddenly everyone decided it was a good time to travel
#Preparing Variables for plotting
CHcases=CGW0320CHINA['Cases']
CHdeaths=CGW0320CHINA['Deaths']
CHx=CGW0320CHINA.index
#Plotting the # of cases in China
fig=plt.figure()
ax=fig.add_subplot(111)
ax.plot(CHx, CHcases, color='#feb6a5', linewidth=3)
ax.set(title="CHINA COVID Infections",
ylabel='Confirmed COVID-19 cases per day',
xlabel='Date')
ax.legend(loc='best')
ax.xaxis.set_major_locator(mdates.DayLocator(interval=5))
ax.xaxis.set_major_formatter(mdates.DateFormatter('%m-%d-%Y'))
plt.gcf().autofmt_xdate()
plt.show()
Looks like china was steadily increasing in the number of cases found per day until 2-13-2020 where it spided to a whopping 15141 cases. Afterwards the amount of cases per day has been steadily decreasing. One reason for this could be that there is inaccurate reporting of cases(again)... or people are just not getting as sick meaning China has sucessfully put in enough preventative measures that less people are getting infected every day.
#Plotting the # of deaths in China
fig=plt.figure()
ax=fig.add_subplot(111)
ax.plot(CHx, CHdeaths, color='#feb6a5', linewidth=3)
ax.set(title="CHINA COVID Infections",
ylabel='Confirmed COVID-19 deaths per day',
xlabel='Date')
ax.legend(loc='best')
ax.xaxis.set_major_locator(mdates.DayLocator(interval=5))
ax.xaxis.set_major_formatter(mdates.DateFormatter('%m-%d-%Y'))
plt.gcf().autofmt_xdate()
plt.show()
As the number daily reported cases in china has been decreasing so has the number of deaths after a spike of 254 deaths on 2-13-2020. This is great news!
Well, In mid-January, Chinese authorities introduced unprecedented measures to contain the virus, stopping movement in and out of Wuhan, the centre of the epidemic, and 15 other cities in Hubei province — home to more than 60 million people. Flights and trains were suspended, and roads were blocked.
Soon after, people in many Chinese cities were quarantined and told to stay at home and venture out only to get food or medical help. Some 760 million people, roughly half the country’s population, were confined to their homes, according to The New York Times (https://www.nytimes.com/2020/02/15/business/china-coronavirus-lockdown.html).
#Plotting Comparisons between infections and deaths
ax=CGW0320CHINA.plot()
ax.xaxis.set_major_locator(mdates.DayLocator(interval=6))
ax.xaxis.set_major_formatter(mdates.DateFormatter('%m-%d'))
plt.gcf().autofmt_xdate()
ax.set_ylabel('COVID-19 Infections China')
ax.set_xlabel('Date')
plt.xticks(rotation=90)
plt.minorticks_off()
plt.plot()
fig, ax=plt.subplots()
index=CHx
barwidth=0.45
opacity=0.8
rects1=plt.bar(index, CHcases, barwidth,
alpha=opacity,
color='b',
label='Cases')
rects2=plt.bar(index,CHdeaths,barwidth,
alpha=opacity,
color='r',
label='deaths')
plt.xlabel('Date')
plt.ylabel('Confirmed Cases to Confirmed Deaths')
plt.title('Zoom in close to the bottom of graph bars')
plt.legend()
Ngroup=1
CHDeaths=(3254)
CHCases=(81337)
fig, ax = plt.subplots()
index = np.arange(Ngroup)
bar_width = 0.35
opacity = 0.8
rects1 = plt.bar(index, CHCases, bar_width,
alpha=opacity,
color='b',
label='Confirmed Cases')
rects2 = plt.bar(index + bar_width, CHDeaths, bar_width,
alpha=opacity,
color='r',
label='Deaths')
plt.xlabel('')
plt.ylabel('Chinese People')
plt.title('Confirmed Cases vs. Confirmed Deaths')
plt.xticks(index + bar_width,'')
plt.legend()
plt.tight_layout()
plt.show()
CGW0320US=CGW0320.where(CGW0320['Countries and territories']=='United_States_of_America')
CGW0320US=CGW0320US.dropna()
CGW0320US=CGW0320US.drop(['Countries and territories', 'GeoId'], axis=1)
CGW0320US.index=CGW0320US['DateRep']
CGW0320US=CGW0320US.drop(['DateRep'], axis=1)
CGW0320US=CGW0320US['3/20/2020':'1/20/2020']
cases=CGW0320US['Cases']
deaths=CGW0320US['Deaths']
x=CGW0320US.index
At the time of writing the dataset that I was using had the total confirmed cases for the date of 03/20 but it was missing the total amount of confirmed deaths so for some of the graphs I opted to exclude the incomplete data from 03/20
Rona, who?
On January 20 the first confirmed case of COVID-19 was reported in the United States. The patient was a 35-year old Washington man who had a 4-day history of cough and subjective fever. After the patient disclosed to his caretakers that he'd been visiting family in Wuhan, China the Washington Department of Health notified the CDC Emergency Operations Center of the situation. The CDC decided he should be tested for 2019-nCoV and the results came back positive https://www.nejm.org/doi/full/10.1056/NEJMoa2001191
fig=plt.figure()
ax=fig.add_subplot(111)
ax.plot(x, cases, color='#feb6a5', linewidth=3)
ax.set(title="US COVID Confirmed Cases",
ylabel='# of Infections',
xlabel='Date')
ax.legend(loc='best')
ax.xaxis.set_major_locator(mdates.DayLocator(interval=5))
ax.xaxis.set_major_formatter(mdates.DateFormatter('%m-%d-%Y'))
plt.gcf().autofmt_xdate()
plt.show()
#plt.xticks(rotation=90)
#plt.plot(CGW0302US)
#plt.title('COVID-19 US')
#plt.ylabel('Infected US')
#plt.xLabel('Infected by Day')
"It's not racist at all, no, not at all. It comes from China, that's why. I want to be accurate. ... I have great love for all of the people from our country, but as you know China tried to say at one point ... that it was caused by American soldiers. That can't happen, it's not gonna happen, not as long as I'm president. It comes from China."-Donald J. Trump
First it starts as the distant problem overseas. Then the problem on the other side of the country. The problem one state over. Finally the problem next door. There were many who shrugged it off as nothing including, some would say, the President himself. People didn't start taking COVID-19 seriously until early March as the confirmed Coronavirus cases in the US seemed to double overnight.
deaths=deaths.drop(deaths.index[0])
figure(num=None, figsize=(1, 1), dpi=80, facecolor='w', edgecolor='k')
fig=plt.figure()
ax=fig.add_subplot(111)
ax.plot(x.drop(x[0]), deaths,color='red', linewidth=2)
ax.set(title="US COVID Confirmed Deaths",
ylabel='# of Deaths',
xlabel='Date')
ax.legend(loc='best')
ax.xaxis.set_major_locator(mdates.DayLocator(interval=5))
ax.xaxis.set_major_formatter(mdates.DateFormatter('%m-%d-%Y'))
plt.gcf().autofmt_xdate()
plt.show()
Suddenly stores are closing, companies are cutting hours and laying people off. Schools are closing, events are being postponed and cancelled. People are flocking to the markets in droves trying to stock up on groceries, essentials and... Toilet Paper? It seems people are finally taking it more seriously but...
ax=CGW0320US.drop(CGW0320US.index[0]).plot()
ax.xaxis.set_major_locator(mdates.DayLocator(interval=6))
ax.xaxis.set_major_formatter(mdates.DateFormatter('%m-%d'))
plt.gcf().autofmt_xdate()
ax.set_ylabel('COVID-19 Infections US')
ax.set_xlabel('Date')
plt.minorticks_off()
plt.plot()
cases=cases.drop(cases.index[0])
fig, ax=plt.subplots()
index=x.drop(x[0])
barwidth=0.45
opacity=0.8
rects1=plt.bar(index, cases, barwidth,
alpha=opacity,
color='b',
label='Cases')
rects2=plt.bar(index,deaths,barwidth,
alpha=opacity,
color='r',
label='deaths')
plt.xlabel('Date')
plt.ylabel('Confirmed Cases to Confirmed Deaths')
plt.title('Zoom in close to the bottom of graph bars')
plt.legend()
Ngroup=1
USDeaths=(150)
USCases=(9415)
fig, ax = plt.subplots()
index = np.arange(Ngroup)
bar_width = 0.35
opacity = 0.8
rects1 = plt.bar(index, USCases, bar_width,
alpha=opacity,
color='b',
label='Confirmed Cases')
rects2 = plt.bar(index + bar_width, USDeaths, bar_width,
alpha=opacity,
color='r',
label='Deaths')
plt.xlabel('')
plt.ylabel('American People')
plt.title('Confirmed Cases vs. Confirmed Deaths')
plt.xticks(index + bar_width,'')
plt.legend()
plt.tight_layout()
plt.show()
Severity=pd.read_csv('ImperialCollegeSeverity.csv')
Severity
The people most negatively affected by this virus are individuals 50+ who's "Symptomatic requiring hospitalization" and "Hospitalization cases requiring critical care" percentages more than double that of their younger counterparts.
At the the journals time of writing in 03/16 according to Imperial College if no precautions are taken (unlikely and untrue as of now)81% of population is expected to be infected over course of epidemic. If they compare the effects of epidemic to the us with GB they predict the amount of cases could be 510,000 for GB and 2.2 million in US.
(strictly from COVID-19 and assuming the infection and death rate stays the same.)
Ngroup=1
DeadFromCovid=(2648700)
WW2=(405000)
fig, ax = plt.subplots()
index = np.arange(Ngroup)
bar_width = 0.35
opacity = 0.8
rects1 = plt.bar(index, DeadFromCovid, bar_width,
alpha=opacity,
color='r',
label='COVID-19 Deaths')
rects2 = plt.bar(index + bar_width, WW2, bar_width,
alpha=opacity,
color='B',
label='WW2 Deaths')
plt.xlabel('')
plt.ylabel('Dead')
plt.title('COVID-19 VS. WW2')
plt.xticks(index + bar_width,'')
plt.legend()
plt.tight_layout()
plt.show()
source for traffic deaths:https://www.nsc.org/road-safety/safety-topics/fatality-estimates.
Ngroup=1
DeadFromCovid=(2648700)
WW2=(38800)
fig, ax = plt.subplots()
index = np.arange(Ngroup)
bar_width = 0.35
opacity = 0.8
rects1 = plt.bar(index, DeadFromCovid, bar_width,
alpha=opacity,
color='r',
label='COVID-19 Deaths')
rects2 = plt.bar(index + bar_width, WW2, bar_width,
alpha=opacity,
color='B',
label='Car Accident Deaths')
plt.xlabel('')
plt.ylabel('Dead')
plt.title('COVID-19 VS. Car Accidents')
plt.xticks(index + bar_width,'')
plt.legend()
plt.tight_layout()
plt.show()
Ngroup=1
DeadFromCovid=(2648700)
WW2=(34200)
fig, ax = plt.subplots()
index = np.arange(Ngroup)
bar_width = 0.35
opacity = 0.8
rects1 = plt.bar(index, DeadFromCovid, bar_width,
alpha=opacity,
color='r',
label='COVID-19 Deaths')
rects2 = plt.bar(index + bar_width, WW2, bar_width,
alpha=opacity,
color='B',
label='2019 Influenza')
plt.xlabel('')
plt.ylabel('Dead')
plt.title('COVID-19 VS. 2019 Influenza')
plt.xticks(index + bar_width,'')
plt.legend()
plt.tight_layout()
plt.show()
"Lower fertility and increased longevity have led to the rapid growth of the older population across the world and in the United States. In 2015, among the 7.3 billion people estimated worldwide, 617.1 million (9 percent) were aged 65 and older. By 2030, the older population will be about 1 billion (12 percent of the projected total world population) and by 2050, 1.6 billion (17 percent) of the total population of 9.4 billion will be 65 and older."(https://www.census.gov/library/publications/2018/acs/acs-38.html)
The 2016 ACS estimated the number of people in the United States aged 65 and over as 49.2 million. Of them, more than half (28.75 million or 58 percent) were aged 65 to 74. The 75 to 84 age group share of the older population was around 14.3 million or 29 percent—more than double the number and proportion (6.3 million or 13 percent) for those 85 and older
A 2019 report from the executive-staffing firm Crist Kolder Associates said CEOs' average age at the time of hiring for Fortune 500 and S&P 500 companies rose sharply to 57 years old from 54 between 2018 and 2019.
2019 Fortune 500 and S&P 500 (670 Companies; 677 Sitting CEOs; 672 Known CEO Ages)http://www.cristkolder.com/volatility-report/
Ngroup=1
InDanger=(338.5)
Total=(677)
fig, ax = plt.subplots()
index = np.arange(Ngroup)
bar_width = 0.35
opacity = 0.8
rects1 = plt.bar(index, InDanger, bar_width,
alpha=1,
color='darkred',
label='In danger')
rects2 = plt.bar(index, Total, bar_width,
alpha=opacity,
color='r',
label='Total')
plt.xlabel('')
plt.ylabel('Ceo Count')
plt.title('Fortune 500 Company')
plt.xticks(index + bar_width,'')
plt.legend()
plt.tight_layout()
plt.show()
Taking this data into account and applying the 1% mortality rule that mean's that 67 fortune 500 companies minimum that will lose their CEO to COVID-19 plus many other manager/senior level employees who could be essential to the company.
Also taking into account that the national average head of household age of a small-business owner is 50.3 years old, 10% of that secor being affected would further curtail a recession. https://www.experian.com/whitepapers/BOLStudy_Experian.pdf
https://www.financialsamurai.com/what-percent-of-americans-own-stocks/
Nick Routley according to visualcapitalist.com data from IPUMS.org income is positively coorelated with age. only a tiny percentage of workers under 25 make more than 50k, earning levels at 35 and peaks in between 65 and 70.
Average net worth ranges from 93,982.80 thousand for 18-24 year olds all the way up to 1,180,377.62 million for 60-64 year olds.
At first glance it might look like the yellow bars which show the averages (yellow) bars of people's net worth not being too bad, on average 18-24 year olds are worth 93 thousand? SIGN ME UP! But the story changes when we look at the median net worth(blue). This bar show what the person in the middle of the pack is making. That means that half of the people 19-24 are have a net worth of less than 4.3 thousand and a majority of people are still not making anything close to 93 million, the top earners in the category just skew the average data.
When people reach the age of 44-50 which is danger territory for COVID-19 their net worth starts getting into the 100's of thousands even by the median net worth half of the people in the age group are worth 100 thousand or more, showing the reality of where America's wealth is held
NetWorthChart=pd.read_csv('NetWorthChart.csv')
NetWorthChart
"The market wont affect us, right?"
What this graph does is it essentially shows who is most likely to own the majority of stock in the country. And you guessed it, its the the elder demographic of people.
As of 2019, the top 10% of Americans owned an average of 969,000 dollars in stocks. The next 40% owned 132,000 on average. For the bottom half of families, it was just under 54,000.
This would effectively, at the very least sink the stock market and at the very worst crash it. Though the average American generally is not affected by dips and and highs of a healthy market, they will surely be affected by a sink and crash the size of what COVID can cause. It could cause massive job lose as well as temporary and permanate country-wide business closing of businesses. The first to go would be novelty stores, then it's a horse race to which business will be affected next as, most likely, only the most prepared and essential businesses would be standing. (Net Worth by Age Calculator for the United States Economics Written by: PKAdvertising Disclosures)
The average age of Members of the House at the beginning of the 115th Congress was 57.8 years; of Senators, 61.8 years, among the oldest in U.S. history. (https://www.senate.gov/CRSpubs/b8f6293e-c235-40fd-b895-6474d0f8e809.pdf
According to Quorum.us:
The nation and most (all is just VERY far fetched and due to our type of government not a possibility) will have to band together to quarantine ourselves and our loved ones. Everyone must have their minds wrapped around how and what they can do to best stop the spread of the virus. We will have to follow the most if not all of the Intervention steps below:
The best thing people can do is to not freak out and to follow safety precautions as best as they can and the spread is guaranteed to be reduced. According to Imperial College following these "Interventions" or containment procedures would help to reduce the the spread of COVID-19 as detailed below:
If the nation and the world is not able to unite cohesively then it will spell certain economic, political and humanitarian disaster. Economies will be broken, millions will die and the political landscape will change drastically locally as well as world round. Many will become sick then die and more will be left homeless and without help for a time.
Many, if not most, countries have begun taking action to try and limit the spread of the virus as much as possible. Quarantines have been imposed, non essential retail have been closed and events that would hold large gatherings of people have been postponed or cancelled worldwide (though there have been issues with people following containment procedures). The United States is even considering an emergency UBI measure to try and alleviate the economic strain already being felt by many in the country. Though things can look bleak at times and many of us are surely to fall on hard times for a period it is imperative that calm be kept. It is not the end of the world as we know it so stop buying all of the TP.