Comment

Comment by tmoertel

Here's an logarithmic fact that I've made use of frequently:

If X is a random variable having a uniform distribution between zero and one, then –ln(X)/λ has an exponential distribution with rate λ.

This relationship comes in handy when, for example, you want to draw weighted random samples. Or generating event times for simulations.

parent tmoertel 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton