Simple linear regression

In this post, I write about a simple method of creating a simple linear regression using two formulas. “Simple Linear Regression” is a linear regression model with a singl explanatory variable. A linear regression trys to fit the data with a linear line, hence linear regression. A linear model follows the following equation: Where: m: … Read more

Newton’s method

In this post I will shortly explain what Newton’s method is and how it works. What is it: Newton’s method is an algorithm to find zeropoints of a function Because you cannot always calculate the exact zeropoint we can use this algorithm to approximate the zeros of the function How does it work: Start at … Read more

Covariance and correlation

Right away the most important thought in this post: Covariance by itself only gives the direction of correlatedness Without knowing the scales of your variables, you can’t tell which variables are more correlated Imagine we have a sample X filled with weight values of people.In addition we also have another sample Y with height values … Read more

Variance and standard deviation

In this post I will explain how to calculate the variance and standard deviation, what they are, explain two common question which are mostly not clarified in school books/by teachers and also give away a Python code to calculate both. To quantify the variation of values to a mean, one can use the so-called “variance” … Read more

Cookie Consent with Real Cookie Banner