## Archive of posts with tag “probability”

### The distribution when indistinguishable balls are put into boxes

Suppose there are $n$ distinguishable boxes and $k$ indistinguishable balls. Now, we randomly put the balls into the boxes. For each of the boxes, what is the probability that it contains $m$ balls? This is a simple combanitorics problem that can be solved by the stars and bars method. It turns out that in the limit $n,k\to\infty$ with $k/n$ fixed, the distribution tends to be a geometric distribution.

- Categories: math
- Tags: probability, combinatorics, ruby

### A measure-theoretic formulation of statistical ensembles (part 2)

For sake of rigor and generalizability, I feel it necessary to try to have a mathematical formulation for statistical ensembles. I chose measure spaces as the underlying mathematical structure of thermal systems and tried to justify the method of statistical ensembles by deducing them from some axioms.

- Categories: physics
- Tags: mathematical physics, statistical mechanics, functional analysis, measure theory, probability, long paper

### A measure-theoretic formulation of statistical ensembles (part 1)

For sake of rigor and generalizability, I feel it necessary to try to have a mathematical formulation for statistical ensembles. I chose measure spaces as the underlying mathematical structure of thermal systems and tried to justify the method of statistical ensembles by deducing them from some axioms.

- Categories: physics
- Tags: mathematical physics, statistical mechanics, functional analysis, measure theory, probability, long paper

### Relationship between the Gini coefficient and the variance

Both the Gini coefficient and the variance are measures of statistical dispersion. We are then motivated to find the relationship between them. It turns out that there is a neat mathematical relationship between them.

- Categories: economics
- Tags: from zhihu, calculus, probability

### This is what will happen after you get a haircut

Denote the length distribution of one’s hair to be $f(l,t)$, where $l$ is hair length, and $t$ is time. Considering that each hair may be lost naturally from time to time (there is a probability of $\lambda\,\mathrm dt$ for each hair to be lost within time range from $t$ to $t+\mathrm dt$) and then restart growing from zero length, how will the length distribution of hair evolve with time? It turns out that we may model it with a first-order PDE.

- Categories: math
- Tags: calculus, probability, pde

### The longest all-$1$ substring of a random bit string

Given your probability of breaking the combo at each note, what is the probability distribution of your max combo in the rhythm game chart? I considered the problem seriously!

- Categories: math
- Tags: long paper, rhythm game, algorithm, probability