Probability Distribution

Random Variable

1. Explain random variables (RV).
Random variables describe the outcomes of a random process or experiment by assigning a numerical value to each possible outcome, allowing for a quantitative analysis of uncertain events.
2. Explain discrete random variable and provide example(s).
A discrete random variable can take on countable number of distinct values. For example, heads or tail, the number of students in the class.
3. Explain continuous random variable and provide example(s).
Continuous random variables can take on any value in interval. For example, pressure, height, mass and distance.
4. What is an expected value?
The expected value (aka mean) is the measure of the central tendency of a random variable.
5. What does the expected value represents or how should we interpret it?
The expected value represents the long-term average or the average value you would expect to obtain if you repeated an experiment or process a large number of times.
6. Provide the formula to calculate the expected value of a discrete random variable.

Formula: E[X]=ixiP(X=xi)

  • $E $: Expected value
  • X: Random variable
  • xi: Each possible value that the random variable X can take on
  • P(X=xi): Probability mass function (PMF) that assigns the probability of a random variable X taking on the specific value xi
7. Explain the similarities between expected value and the standard mean calculation (1nixi).

Both formulas involve summing up the product of each value and its corresponding weight or frequency.

  • In the case of the expected value, the weights are the probabilities assigned by the probability mass function (PMF).
  • In the case of the mean, the weights are the same for each value, and thus able to divide by the total number of observations (1n).
8. Provide the formula to calculate the variance of a discrete random variable.

Formula: Var(X)=i(xiE[X])2P(X=xi)

  • Var(X): Variance
  • $E $: Expected value
  • X: Random variable
  • xi: Each possible value that the random variable X can take on
  • P(X=xi): Probability mass function (PMF) that assigns the probability of a random variable X taking on the specific value xi
9. What is the mode of a discrete random variable?
The mode of a discrete random variable is the value that occurs with the highest probability.

Probability Distribution Introduction

1. Explain probability distribution.
A probability distribution describes all the random variable’s possible outcomes (values) and the associated probabilities.
2. Provide the 3 key properties of a probability distribution.
  1. Non-negativity.
  2. Each probability is between 0 and 1.
  3. The sum of all the probabilities is 1.
3. Explain Probability Mass Function (PMF) and provide example(s) of PMF.
  • Definition: Describes the probability distribution over a discrete random variable (RV). It is a function that returns the probability of a RV being exactly equal to a specific outcome or value.
  • Example(s): Bernoulli Distribution, Binomial Distribution, Poisson distribution
4. Explain Probability Density Functions(PDF) and provide example(s) of PDF.
  • Definition: Describes the probability distribution over a continuous random variable (RV). Where the random variable can take on any value within a certain range.
  • Example(s): Normal Distribution, Exponential Distribution
5. What is the total area under a continuous and discrete probability distribution curve?
The total area under for both continuous and discrete probability distribution curve is 1.
6. In a probability density function, is it possible to find the probability of a single, specific point?
No, because the probability is associated with intervals rather than individual points.
7. Explain Cumulative Distribution Function (CDF).
CDF is the probability that a random variable X will take a value less than or equal to x. It provides a cumulative view of the probability distribution.

Bernoulli Distribution

1. Explain the Bernoulli distribution.
The Bernoulli distribution is a type of discrete probability distribution that describes the probability of a single event happening (success) or not happening (failure). It has two parameters: the probability of success (p) and the probability of failure (q=1p)
2. Provide some examples (experiments) where a Bernoulli distribution can be applied.
  • Flipping a coin (heads or tail)
  • Passing an exam (pass of fail)
3. Provide the Bernoulli distribution function.

P(k;p)=pk(1p)1k

Where:

  • k is the possible outcomes (0 for failure, 1 for success)
  • p is the probability of success
4. Derive the expected value for the Bernoulli distribution.
E(X)=1×p+0×(1p)=p
5. Derive the variance for the Bernoulli distribution.

Var(X)=E(X2)E(X)2

E(X2)=12×p+02×(1p)=p

E(X)2=p2

Var(X)=pp2=p(1p).

Binomial Distribution

1. Explain the Binomial distribution.
The Binomial distribution is a type of discrete probability distribution that describes the probability of getting a certain number of successes in a fixed number of independent and identical Bernoulli trials, where each trial has two possible outcomes: success or failure.
2. Provide some examples (experiments) where a Binomial distribution can be applied.
  • Counting the number of heads in a series of coin flips.
  • Finding the number of students that will pass a series of independent exams.
3. State the key characteristics of a Binomial Distribution.
  1. Binary Outcomes: Each trial results in one of two possible outcomes, often referred to as success and failure.
  2. Fixed Number of Trials (n): The number of trials is predetermined and remains constant throughout the experiment.
  3. Independence: The outcome of one trial does not affect the outcome of another. Each trial is considered independent.
  4. Constant Probability of Success (p): The probability of success (denoted by p) remains the same for each trial.
4. Provide the Binomial distribution function.

P(X=k)=(nk)pk(1p)1k

Where:

  • k is the number of successes
  • n is the number of independent trials
  • p is the probability of success
  • (nk) is the binomial coefficient, representing the number of ways to choose k successes from n trials.
5. Provide the expected value of the Binomial distribution.

The expected value of a binomially distributed random variable X is the sum of n identical Bernoulli random variables, each with expected value p, which gives us ..

E(X)=np

6. Provide the variance for the Binomial distribution.

Similar the the expected value, the variance of a binomially distributed random variable X is the sum of independent Bernoulli random variable variance p(1p), which gives us

Var(X)=npq=np(1p)

7. What happens to the binomial distribution as the number of trials increases?
The distribution shape approaches normality: According to the central limit theorem, as the number of trials becomes large, the shape of the Binomial distribution approaches that of a normal distribution.

Normal Distribution

1. Explain normal distribution (ND).
Normal distribution (AKA Gaussian distribution) is a continuous probability distribution that is symmetric and bell-shaped, which implies that the frequency of observing datapoints is higher when it is nearer to the mean.
2. What makes the normal distribution such an important concept?
Many natural processes and measurements in the natural and social sciences such as heights, weights, IQ scores, are approximately normally distributed. For this reason, we are able to perform inferential statistics on them.
3. In the context of a normal distribution, how are the mean, median, and mode interrelated?
The mean, medan and mode are equal to one another and these values all represent the center of the distribution, which is also the peak.
4. What is the skewness of a normal distribution?
The skewness measures the degree of symmetry of a distribution. The normal distribution is symmetric and thus, has a skewness = 0
5. Explain the empirical rule and the main use-case.

The 68-95-99.7 rule, also known as the empirical rule is used to estimate the spread of data in a normal distribution.

  • 68% of the data falls within 1 standard deviation of the mean.
  • 95% of the data falls within 2 standard deviation of the mean.
  • 99.7% of the data falls within 3 standard deviation of the mean.
6. Define standard normal distribution in the context of mean and standard deviation.
The standard normal distribution (Z distribution) is a specific normal distribution with a mean of 0 and a standard deviation of 1.
7. How do you transform a normal distribution into a standard normal distribution?

Z=xμσ

  • Z: Z-score
  • x: Individual observation
  • μ: Mean
  • σ: Standard deviation
8. How does the Z formula transforms a normal distribution mean to 0 and standard deviation to 1?

Formula: Z=xμσ

  • Shifting to the mean (xμ):
    • Subtracting the mean shifts the distribution so that the mean becomes 0.
  • Scaling the standard deviation (1σ):
    • When we divide each data point by the standard deviation, we are expressing the data points in terms of unit of standard deviation from the mean. Hence the standard deviation is 1.
9. What does the Z score tells us?
Z score is a measure of how many standard deviations a particular data point is from the mean. The higher the Z score, the further away the value is from the mean.
10. What does a positive and negative Z score indicates?
  1. Positive Z score indicates that the data point is above the mean of the distribution.
  2. Negative Z score indicates that the data point is below the mean of the distribution.
11. What are the main use-cases of transforming a normal distribution into a standard normal distribution?
  • Comparisons and Standardisation:
    • Standardising the data allows for meaningful comparisons across different normal distributions. It simplifies the analysis by providing a common scale for measurements, regardless of the original distribution’s parameters.
  • Probability Calculations:
    • The transformation allow us to calculate probabilities associated with specific values in the standard normal distribution.
  • Statistical Testing:
    • Many statistical tests and hypothesis testing procedures assume a standard normal distribution.
12. Describe the steps to find probability using the Z distribution.
  1. State the problem:
    • Finding the probability greater than a value, less than a value or within an interval.
  2. Standardise the value:
    • Calculate the Z-score.
  3. Determine the probability:
    • Find the corresponding cumulative probability of that Z score.
13. In the context of standard normal distribution, provide the formula to find the probability less than or equals to a certain value. Explain your answer.
  • Formula: P(Za)
  • Explanation: The Z-score table have provided the cumulative probability which represents the probability that a randomly selected value from a standard normal distribution is less than or equal to a.
14. In the context of standard normal distribution, provide the formula to find the probability more than a certain value. Explain your answer.
  • Formula: P(Z>a)=1P(Za)
  • Explanation: Subtracting P(Za) from 1 gives the probability that Z is greater than a.
15. In the context of standard normal distribution, provide the formula to find the probability occurring within a certain interval Explain your answer.
  • Formula: P(aZb)=P(Zb)P(Za)
  • Explanation: Subtracting P(Za) from P(Zb) gives the probability of Z falling within the interval [a,b]. We are removing the portion of the distribution less than a, leaving the portion between a and b.
Last updated on 23 Aug 2024