Math
This is my extended brain for math
Understanding the Directional Derivative and the Gradient
1 Introduction Understanding how functions change in different directions is crucial in many fields. For example in the context of neural networks where gradients are used to update weights during the training process. In this article, we will explore the concepts of the directional derivative and the gradient, and we will demonstrate their relationship through
Maximum Likelihood Estimation
The method of maximum likelihood estimation allows to estimate point parameters for a given distribution underlying some observed data. Let’s look at an example to understand what this means:Imagine you measure the height of 20 women within an age-range between 20-40 years. You denote the measurements as \(X_1=x_1, X_2=x_2,…,X_{20}=x_{20}\), where the capital \(X_i\) refers to
How to create a random variable with a Beta distribution from scratch, using only Uniform random variables
You can use software, like scipy.stats.beta if you want to sample from a Beta distribution. But you can also create a Beta distribution yourself — from scratch. The only thing you need is access to a Uniform random variable. This post shows an implementation of example 12.1.4 on p. 539 of the book “Introduction to
Which envelope should you choose?
A detailed solution for a problem about total probability
Variance, Covariance, Autocovariance…what?
This article aims to distinguish between Variance, Covariance, Correlation, Autocovariance, and Autocorrelation. Furthermore there will be a numerical discrete example for computing the Autocorrelation in python. This article will not derive the formulae mathematically, only state them. Variance measures the spread of a r.v. (random variable). \[\begin{equation} Var(X) = E[( X-\bar{x} )^2] = \sum_{i=1}^{n} {





