100% tevredenheidsgarantie Direct beschikbaar na betaling Zowel online als in PDF Je zit nergens aan vast
logo-home
Probability Concepts (CFA level 1 exam notes) €2,94   In winkelwagen

College aantekeningen

Probability Concepts (CFA level 1 exam notes)

 2 keer bekeken  0 keer verkocht

Probability Concepts (CFA level 1 exam notes) by Professor James Forjan, PhD, CFA

Voorbeeld 4 van de 35  pagina's

  • 14 november 2024
  • 35
  • 2023/2024
  • College aantekeningen
  • Professor james forjan, phd, cfa
  • Alle colleges
Alle documenten voor dit vak (268)
avatar-seller
qukjev
Probability Concepts

Understanding Random Variables and Probability

Random variables are quantities that can take on different values
according to some random chance. There are two types of random
variables: discrete and continuous. Discrete random variables can only
take on specific, separate values, while continuous random variables can
take on any value within a certain range.

Probability is a measure of how likely an event is to occur. It is
represented as a number between 0 and 1, with 0 meaning the event will
never occur and 1 meaning the event will always occur. Probabilities can
be calculated using various rules and formulas, such as the addition rule
and the multiplication rule.

The addition rule states that the probability of either event A or event B
occurring is equal to the probability of event A occurring plus the
probability of event B occurring, minus the probability of both events A
and B occurring. This can be represented as:

P(A or B) = P(A) + P(B) - P(A and B)

The multiplication rule states that the probability of both event A and
event B occurring is equal to the probability of event A occurring
multiplied by the probability of event B occurring, given that event A has
occurred. This can be represented as:

P(A and B) = P(A) * P(B|A)

For example, suppose we have a bag with 5 red balls and 3 blue balls. If
we draw one ball at random, the probability of drawing a red ball is 5/8,
and the probability of drawing a blue ball is 3/8. The probability of
drawing either a red or a blue ball is:

P(red or blue) = P(red) + P(blue) - P(red and blue) = 5/8 + 3/8 - 0 = 1

This makes sense, because there are no other colors of balls in the bag.

The multiplication rule can also be used to calculate the probability of two
events occurring in sequence. For example, suppose we roll a fair six-
sided die twice. The probability of rolling a 3 on the first roll and a 4 on
the second roll is:

P(3 on first roll and 4 on second roll) = P(3 on first roll) * P(4 on second
roll|3 on first roll) = 1/6 * 1/6 = 1/36

, Probability distributions are used to describe the possible values and
probabilities of a random variable. The two main types of probability
distributions are probability mass functions (PMFs) and probability density
functions (PDFs). PMFs are used for discrete random variables, and PDFs
are used for continuous random variables.

For example, suppose we toss a fair coin three times. The possible number
of heads (H) and tails (T) that we can get are:

 HHH (3 heads)
 HHT
 HTH
 HTT
 THH
 THT
 TTH
 TTT (3 tails)
There are 8 possible outcomes, and each outcome is equally likely, with a
probability of 1/8. The PMF of the number of heads we can get is:

| Number of Heads (X) | 0 | 1 | 2 | 3 | |---|---|---|---|---| | PMF (P(X)) | 1/8 |
3/8 | 3/8 | 1/8 |

The mean (also called the expected value) of a random variable is a
measure of its central tendency. It is calculated as the sum of all possible
values, each multiplied by its probability. For a discrete random variable X
with possible values x1, x2, ..., xn and corresponding probabilities p1,
p2, ..., pn, the mean is:

Expected Value (E[X]) = x1 * p1 + x2 * p2 + ... + xn * pn

For example, suppose we have a six-sided die with the following PMF:

| Number (X) | 1 | 2 | 3 | 4 | 5 | 6 | |---|---|---|---|---|---|---| | PMF (P(X)) |
1/16 | 2/16 | 3/16 | 4/16 | 5/16 | 1/16 |

The mean is:

E[X] = (1 * 1/16) + (2 * 2/16) + (3 * 3/16) + (4 * 4/16) + (5 * 5/16) + (6 *
1/16) = 3.5

,The variance of a random variable is a measure of how much its values
vary from the mean. It is calculated as the sum of the squared difference
between each possible value and the mean, each multiplied by its
probability. For a discrete random variable X with possible values x1, x2, ...,
xn and corresponding probabilities p1, p2, ..., pn, the variance is:

Variance (Var[X]) = (x1 - E[X])^2 * p1 + (x2 - E[X])^2 * p2 + ... + (xn -
E[X])^2 * pn

For example, suppose we have a random variable X with the following
PMF:

| Number (X) | 1 | 2 | 3 | |---|---|---|---| | PMF (P(X)) | 0.3 | 0.4 | 0.3 |

The mean is:

E[X] = (1 * 0.3) + (2 * 0.4) + (3 * 0.3) = 2.1

The variance is:

Var[X] = (1 - 2.1)^2 * 0.3 + (2 - 2.1)^2 * 0.4 + (3 - 2.1)^2 * 0.3 = 0.45

The standard deviation is the square root of the variance and is a measure
of the amount of "spread" in the data. For example, if the standard
deviation of a set of data is small, it means that the data are closely
clustered around the mean. If the standard deviation is large, it means
that the data are more spread out.

Here's a code sample in Python that calculates the mean and standard
deviation of a list of numbers:

import math

def mean(numbers): total = 0 for number in numbers: total += number
return total / len(numbers)

def standard_deviation(numbers): mean_val = mean(numbers) total = 0
for number in numbers: total += (number - mean_val)**2 return
math.sqrt(total / len(numbers))

numbers = [1, 2, 3, 4, 5] print("Mean:", mean(numbers)) print("Standard
Deviation:", standard_deviation(numbers))

This will output:

Mean: 3.0 Standard Deviation: 1.5811388300841898

, In conclusion, random variables and probability are fundamental concepts
in statistics and machine learning. Understanding how to calculate
probabilities, probability distributions, and measures of central tendency
and spread is essential for making informed decisions and building
predictive models. With practice, these concepts can be applied to a wide
range of real-world problems, from predicting customer behavior to
diagnosing medical conditions.

different types of probabilities and their real-world
applications.
Classical Probability
Classical probability is the earliest form of probability and is based on
equal likelihoods. It is calculated as the number of favorable outcomes
divided by the total number of outcomes. For example, if there are 5 red
balls and 10 balls in total in a bag, the classical probability of drawing a
red ball is 5/10 or 1/2.

Empirical Probability
Empirical probability, also known as experimental probability, is based on
observations or data. It is calculated by dividing the number of times a
certain event has occurred by the total number of trials. For example, if a
coin was flipped 100 times and came up heads 55 times, the empirical
probability of getting heads is 55/100 or 0.55.

Subjective Probability
Subjective probability is based on an individual's personal judgment or
belief regarding the likelihood of an event. For example, a weather
forecaster may give a subjective probability of 70% for rain the next day
based on their knowledge and experience.

Applications of Probability
Probability has numerous applications in various fields such as finance,
insurance, engineering, and medicine. For example, in finance, probability
is used to calculate the risk associated with investment strategies. In
insurance, probability is used to determine the premiums and coverage
for different types of policies. In engineering, probability is used to
analyze and predict the failure rates of systems and components. In
medicine, probability is used to evaluate the effectiveness of treatments
and diagnose diseases.

Voordelen van het kopen van samenvattingen bij Stuvia op een rij:

Verzekerd van kwaliteit door reviews

Verzekerd van kwaliteit door reviews

Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!

Snel en makkelijk kopen

Snel en makkelijk kopen

Je betaalt supersnel en eenmalig met iDeal, creditcard of Stuvia-tegoed voor de samenvatting. Zonder lidmaatschap.

Focus op de essentie

Focus op de essentie

Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper qukjev. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor €2,94. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 67474 samenvattingen verkocht

Opgericht in 2010, al 14 jaar dé plek om samenvattingen te kopen

Start met verkopen
€2,94
  • (0)
  Kopen