top of page

How Do We Use Statistics In The Real Life

We learn a lot of interesting and useful concepts in school but sometimes it's not very clear how we can use them in real life. 

One concept/tool that might be widely underestimated is Linear Regression.

EX 1

How much money should you allocate for gas?

屏幕快照 2020-06-01 上午11.31.50.png

When you are traveling to a specific spot, thinking that there must be a way to estimate the amount of money needed, based on the distance you're traveling.

First, you look at some data.

You've been laboriously tracking your car’s efficiency for the last year — because who doesn’t! — so somewhere in your computer there's this spreadsheet

屏幕快照 2020-06-01 上午11.36.13.png

At this point these are just numbers. It's not very easy to get any valuable information from this spreadsheet.

屏幕快照 2020-06-01 上午11.37.53.png

However, plotted like this it's clear that there is some "connection" between how far you can drive without filling the tank. Not that you didn't know that already but now — with data — it becomes clear.

What you really want to figure out is

"If I drive for 1200 miles, how much will I pay for gas?"

In order to know that, you need to use the data we just saw and predict how much you are going to spend.

Let's say, you want to have a road trip  to Las Vegas, then this math model is suitable for you to predict the cost. And then you end up with a mathematical model that describes the relationship between miles driven and money spent to fill the tank.

屏幕快照 2020-06-01 上午11.43.25.png

Example of plot of your dataset (data from the past) and your predictions (data from the future)

If you want, you can fit a regression line on the plot to make it more clear.

屏幕快照 2020-06-01 上午11.45.36.png

Since we're only dealing with one independent variable, the model can be specified as:

屏幕快照 2020-06-01 下午1.34.27.png

EX 2

Also found one interesting video to explain the linear regression

bottom of page