iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🐨

[Illustrated] The Two Types of Statistics

に公開
2022/04/26

Before Deep Learning.

Deep learning is based on "statistics." Statistics is actually used in various situations and enriches human life in places we don't even know.


Statistics is the foundation of Deep Learning

This time, I will illustrate "Descriptive Statistics and Inferential Statistics," which are the broad framework of statistics. I've removed all the difficult words so that even beginners can understand.


I have summarized the basics of Deep Learning into a book. I would be very happy if you could take a look ↓
https://zenn.dev/nekoallergy/books/904df952389317


I hope this helps your understanding move forward even by one step.



Created by NekoAllergy

The 2 Classifications of Statistics


The 2 Classifications of Statistics

Statistics is broadly divided into two categories: Descriptive Statistics and Inferential Statistics.

I think it might be difficult to understand just by hearing the words, so let's think about it with a concrete example.

01 What is Descriptive Statistics?


What is Descriptive Statistics?

Descriptive Statistics is a method for understanding characteristics by converting data into an easy-to-understand form. Deriving the mean (average) from data or calculating the variance is what descriptive statistics is about.

For example, let's consider a time when you took tests for 5 subjects at school. Because you studied quite hard for this test, you were able to get 80 points or more on all five tests. You're so happy that you want to brag to everyone as soon as possible.


Summarizing class data

However, it's possible that the test was easy and everyone got 90 points or more. Compared to others who took the same test, is your 80 points really a top score?

To understand your position, you compiled everyone's scores in the class as data. However, you cannot simply compare just by having a lot of numbers lined up.

Let's Establish a Standard


Calculating the mean

In such cases, a commonly used method is to calculate the mean (average). You are likely familiar with the mean. Simply add all the numerical values and divide by the count of the data. With just this calculation, you can produce a single useful value called the mean.

With this single value, you can quantitatively measure everyone's performance. In this way, converting a large amount of confusing data into an easy-to-understand form is called descriptive statistics. In this example, we used the mean to understand the overall characteristics. The mean is one type of descriptive statistics.

Comparing your scores to the class average revealed that while you were above average in some subjects, you were below average in others. Let's save the bragging for another time.

Making it Easier to Understand with Graphs


Visualization is also part of descriptive statistics

Now, to understand the overall picture, let's look at the data in the form of a graph. You'll notice that the variation differs significantly depending on the subject. In this way, the act of converting data into a graph is also part of descriptive statistics. Anything that converts confusing data into a form where features can be easily grasped falls under descriptive statistics.


Creating clear indicators or standards based on data

There are many other methods in descriptive statistics besides calculating the mean and visualizing with graphs. There are numerous numerical values used to grasp data characteristics, such as the median, mode, variance, standard deviation, covariance, and correlation coefficient.

The terminology might sound difficult, but it's simply turning data characteristics into easy-to-understand numbers. Descriptive statistics can be described as "a method of creating clear indicators or standards based on data." Being able to generate various indicators and standards allows for proper discussion and analysis.

02 What is Inferential Statistics?


What is Inferential Statistics?

In inferential statistics, you can predict overall data from a portion of the data, or predict future data from current data. Inferential statistics is based on the content of descriptive statistics. The content of descriptive statistics serves merely as the foundation for performing inferential statistics.


Two key terms in inferential statistics

There are two methods in inferential statistics: estimation and testing. Estimation and testing are the most important, practical, and commonly used methods. The knowledge you've learned in descriptive statistics will reappear one after another, like pieces of a puzzle falling into place.

Performing these two can be considered the goal of inferential statistics.

What is Estimation?


What is estimation?

Estimation is a method of inferring overall data from a sample of that data. By using estimation, you can determine the overall mean from the sample mean, or the overall variance from the sample variance.

For example, the concept of estimation is used in TV ratings and cabinet approval ratings. Since it is very difficult to survey all 100 million Japanese citizens, these are based on the idea of predicting the overall data from the results of a small sample of about 1,000 people.

What is Testing?


What is testing?

Testing (hypothesis testing) is a method of forming a hypothesis like "Is it actually like this?" and determining if it is truly correct. For example, suppose there is a fact that "it snowed in Tokyo for two consecutive weeks." You can calculate numerically whether this fact is "something that normally happens" or "no, this rarely happens, so it happened by chance." It is a very useful method because it allows you to judge whether something happened by chance or not using objective numbers rather than subjective judgment.


Both estimation and testing are methods for predicting unseen underlying data, so they are included in inferential statistics. By performing statistically correct calculations, you can predict the underlying data with high accuracy.

In this way, in inferential statistics, you can predict overall data from a portion of the data, or predict future data from current data. These are the most important, practical, and commonly used methods.

How to Proceed with Learning

When learning statistics, the most efficient learning method is to learn 1. Descriptive Statistics first, and then 2. Inferential Statistics. After becoming able to derive data characteristics in descriptive statistics, move on to acquiring practical skills in inferential statistics.

Summary


The 2 Classifications of Statistics

Statistics is broadly divided into two categories: Descriptive Statistics and Inferential Statistics.

I would be happy if your understanding has moved forward even by one step.

Machine Learning in More Detail

Understanding statistics allows the concepts of Machine Learning and Deep Learning to flow in smoothly.

I have summarized the basics of Deep Learning into a book. I would be very happy if you could take a look ↓
https://zenn.dev/nekoallergy/books/904df952389317


NekoAllergy AI

NekoAllergy AI
I share information about machine learning on YouTube. I would be happy if you could take a look if you have the time.





Created by NekoAllergy

Discussion