Statistics

Data Science means Science that is being driven by data, by means of getting useful insights from the sets of data available, plotting the data visually, and predicting the future.

While Data Science involves knowledge of several tools and programming (Python etc.), still the most basic requirement is the knowledge of some basic maths. However, with practice and proper guidance, anyone can learn about Data Science and gain proficiency by experimenting with different sets of data.

In this article, some of the basic statistics functions will be explained. A data scientist must hone his/her skills in these functions before considering formal training in Data Science. But before we go ahead, we must have the following.

  1. Data (Generally normalized and cleansed)
  2. Tool (Excel is a boon for beginner data scientists)

To start with, open MS Excel and load the sample data. In case you do not have any sample data, you can create it as shown in the image below.

MS Excel

Data cleansing or data cleaning is an activity to fix the cells which could cause an error or may show a disconnect due to the incompleteness of information in the Excel sheet. You can see in the image above that two cells are empty, but because the relevant data is available, hence the missed values can be placed. A blank date in the first column can be easily filled by taking the reference of an adjacent cell. Similarly, another blank cell for sales quantity could be filled by adding the number of Pizzas and Tacos. This is the simplest way to clean the data. In case no reference point is found for the missing data or for any duplication of records, the cell can be deleted from the dataset.

Now, after data cleaning, the sheet will look proper and we are ready to learn the basic functions. In Data Science, visualization of data is important and there are different methods to see the shape of data or to see how the data is distributed. Let's get started with some common terms,

Some other information

Tableau (Public) version to create the histogram above, where we see lots of bars being plotted. The bin range is 10, which represents the revenues captured for the sales from 40 to 50, 50 to 60, and so on.

A few of the observations from the above histogram are,

So far, we have learned the basics of statistics and data visualization. These formulas are to be practiced on the sample data (https://pastebin.com/vSu8Xk4k). To use this data, please copy the data to a new Excel file.

There are different tools you can use to play with data, but Excel is a good starting point. Please enable the Analysis Toolpak add-ins and this option will enable the Data Analytics option under File=> Data menu ribbon. Additionally, you can download the free version of Tableau (Public) and install it on your computer. I will write a separate post on how to use Tableau for data visualization and analytics.

Next, we will learn about some complex scenarios to find and plot the differential between data captured from different samples complimented by advanced statistics formulas.

Please like, share, and tell me how you feel about the article.