Skip to content

Latest commit

 

History

History
56 lines (31 loc) · 2.79 KB

ProbDistributions.md

File metadata and controls

56 lines (31 loc) · 2.79 KB

Statistical package in python (pandas-based): https://github.com/raphaelvallat/pingouin/

MCMC: https://machinelearningmastery.com/markov-chain-monte-carlo-for-probability/

DISCRETE PROBABILITY DISTRIBUTIONS

image

  1. Bernoulli distribution (single trial with 2 possible outcomes)
  • If X is the random variable defining the outcome of the trial and p is the probability of success (of 1 outcome), it follows a distribution X ~ Bernoulli(p, p(1-p))
  • where p is the mean and p(1-p) is the variance
  1. Binomial distribution (n identical trials with 2 possible outcomes in each)
    • X ~ Binomial(np, np(1-p)) where this distribution can be thought of as multiple independent Bernoulli trials

image

  1. Poisson distribution (large number of rare events with unlimited outcomes) X ~ Poisson(l) where l is both mean and variance of unlimited occurrences https://mathworld.wolfram.com/PoissonDistribution.html

CONTINUOUS PROBABILITY DISTRIBUTIONS

  1. Uniform distribution (outcomes equally likely)

  2. Standard Normal/Gaussian distribution The mean, median, and mode of the distribution coincide. The curve of the distribution is bell-shaped and symmetrical about the line x = μ. The total area under the curve is 1. Exactly half of the values are to the left of the center and the other half to the right.

image

boxplot

  1. Exponential distribution (continuous and independent events in a time interval) image

  2. Weibull distribution

weibull wei

Understanding slope, intercept and error terms in LINEAR REGRESSION

image

image

MULTIPLE LINEAR REGRESSION

image

ll