massafunktion
Massafunktion is a term used in some contexts, particularly in fields like statistics and machine learning, to refer to a probability mass function. A probability mass function, often abbreviated as PMF, is a function that describes the probability of a discrete random variable taking on a specific value. Unlike a probability density function (PDF) which applies to continuous variables, a PMF assigns probabilities to distinct, countable outcomes.
For a discrete random variable X, the probability mass function is denoted by P(X = x) or p(x).
Examples of distributions that have a PMF include the Bernoulli distribution, the binomial distribution, the Poisson