Economic Freedom Index Visualization: 2014-2019

Posted on Jun 7, 2019

Project GitHub | LinkedIn:   Niki   Moritz   Hao-Wei   Matthew   Oren

The skills we demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

Economic freedom or economic liberty is the ability of people of a society to take economic actions.

The free market viewpoint defines economic liberty as the freedom to produce, trade and consume any goods and services acquired without the use of force, fraud or theft. This is embodied in the rule of law, property rights and freedom of contract, and characterized by external and internal openness of the markets, the protection of property rights and freedom of economic initiative.

There are several indices of economic freedom that attempt to measure free market economic freedom. Some of these are:- Index of Economic Freedom (Heritage Foundation and Wall Street Journal), Economic Freedom of the World (Fraser Institute) and World Survey of Economic Freedom (Freedom House).

Economic Freedom Index Parameters:

  • Rule of law
    • Property Rights
    • Judicial Effectiveness
    • Government Integrity
  • Government size
    • Tax Burden
    • Government Spending
    • Fiscal Health
  • Regulatory efficiency
    • Business Freedom
    • Labor Freedom
    • Monetary Freedom
  • Market openness
    • Trade Freedom
    • Investment Freedom
    • Financial Freedom

Motivation

I wanted to observe how the economic freedom has changed in last 6 years in different countries and in the same period how has the economic growth moved. I also wanted to observe if the performance on different economic freedom parameters is good on its own, or if it is also linked to the economic status.

Source of Data

For my study, I used the Index of Economic Freedom created by the Heritage Foundation and Wall Street Journal. The Index focuses on four key aspects of the economic and entrepreneurial environment over which governments typically exercise policy control:- 1) Rule of law, 2) Government size, 3) Regulatory efficiency and 4) Market openness

In assessing conditions in these four categories, the Index measures 12 specific components of economic freedom, each of which is graded on a scale from 0 to 100. Scores on these 12 components of economic freedom, which are calculated from a number of sub-variables, are equally weighted and averaged to produce an overall economic freedom score for each economy.

Tools Used

I used Shiny, a package from RStudio for building interactive web applications, for developing the app,  dplyr for preprocessing and analysis of data, and ggplot for the graphs.

The App

The navigation bar has a set of 4 tabPanel elements: About, Country Comparison, Income Quarter Comparison and Economic Impact

 

About

Gives brief information on what constitutes economic freedom and different measures of the same,  along with the Economic Freedom Index used for the app and the parameters that constitute the Index.

Country Comparison

 In this tab a user can select any two countries for comparison through the drop-downs,  created through selectInput, in the sidebarPanel. Further there is a tabsetPanel of three tabPanels  through which he can check how has the rank and index of these countries changed over years, how are the countries doing on individual components of index, and also how has the GDP per capita changed for these countries.

Movement of rank (better rank: smaller column-size) and score over years

 

Performance across different parameters

 

EFI Index and per capita GDP for the two countries

 

Income Quarter Comparison

Here I have tried to explore how the countries in different income quarters perform on different parameters -- Rule of Law, Government Size, Regulatory Efficiency and Market Openness.

Through radioButtons user has the option of selecting the display as boxplots or mosaic-plots.

A surprising finding for me was that the countries in the top quarter of per-capita-income did not score high on Regulatory Efficiency and Rule of Law.

Economic Impact

To visualize the economic impact of individual economic freedom parameters, the user can pick up one economic indicator -(GPD-per-capita, unemployment-rate,  inflation)  and one economic freedom parameter (Index Score, Rule of Law, Government-size, Regulatory Efficiency, Market Openness) from the drop-downs.

Plot shows a simple linear regression and a summary description between the variables.

Conclusion

Over a period countries change in relative performance over economic performance. Mostly higher economic freedom reaps benefits in economic prosperity, but not always. If you wish to see how it has been for a pair of any two countries, you can refer to the shiny app at https://shailendradhondiyal.shinyapps.io/Shiny_Proj_EFI/.

 

 

 

About Author

Shailendra Dhondiyal, CFA, FRM

I have been a business manager who used data extensively to perform root-cause analysis, build operating models, conduct profitability analysis, develop forecasting models and design pricing strategies. I have successful track record of setting & scaling up businesses,...
View all posts by Shailendra Dhondiyal, CFA, FRM >

Leave a Comment

Sri krishna chaitanya thotakura December 5, 2019
can you send me the code for this ?

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI