Xfördelningen
Xfördelningen is a discrete probability distribution that describes the number of successes in a fixed number of independent Bernoulli trials. A Bernoulli trial is an experiment with only two possible outcomes, typically labeled "success" and "failure," where the probability of success is constant for each trial. The distribution is defined by two parameters: n, the number of trials, and p, the probability of success on any single trial. The probability mass function for the Xfördelningen gives the probability of obtaining exactly k successes in n trials, and is calculated as P(X=k) = (n choose k) * p^k * (1-p)^(n-k), where (n choose k) represents the binomial coefficient.
The expected value, or mean, of an Xfördelningen is given by E(X) = n*p, representing the average