How Do Conditional Probabilities and Expectations Relate in Statistics?

  • Thread starter MaxManus
  • Start date
  • Tags
    Probability
In summary, the conversation is about two random variables X and Y, where Y takes on k values and X takes l values. The person is supposed to show two equations, but is unsure where to start. They are advised to do some research, as the second problem is already solved on a Wikipedia page. The first problem is unclear and the person is encouraged to try again.
  • #1
MaxManus
277
1

Homework Statement


Consider two random variables X and Y. Suppose that Y takes on k values yi,...,yk and X takes l values xi,...,xl

Hey, I am supposed to show that
1) Pr(Y = yi = [tex]\sum[/tex],from 1 to l Pr(Y = yi(givrn)(X=xi)Pr(X=xi)


and
2) E(Y) = E(E(Y(given)X)


I am not sure where to start on neither of them,
 
Physics news on Phys.org
  • #2
You need to learn how to do a little research, bro. That second problem is worked out completely on a wikipedia page, which I was able to find in about 20 seconds. I will let you think about what keywords to search for (you should at least know what E(Y) is called). As for the first problem, I'm guessing that you didn't type it in correctly because I can't parse what you're trying to say. Try again?
 
  • #3
can you please help me?



Sure, let's break down the two parts separately.

1) The first part is asking you to show that the probability of Y taking on the value yi is equal to the sum of the probabilities of Y taking on the value yi for each possible value of X. In other words, the probability of Y = yi is the sum of the probabilities of Y = yi given each possible value of X. This can be represented as:

Pr(Y = yi) = ∑ Pr(Y = yi | X = xi) * Pr(X = xi)

To prove this, you can use the definition of conditional probability: Pr(A|B) = Pr(A and B) / Pr(B). Substituting this into the equation above, we get:

Pr(Y = yi) = ∑ Pr(Y = yi and X = xi) / Pr(X = xi)

Now, we can use the fact that Y and X are independent random variables to simplify the equation. This means that the probability of Y taking on a certain value is not affected by the value of X. Therefore, Pr(Y = yi and X = xi) = Pr(Y = yi) * Pr(X = xi). Substituting this into the equation above, we get:

Pr(Y = yi) = ∑ Pr(Y = yi) * Pr(X = xi) / Pr(X = xi)

The Pr(X = xi) terms cancel out, leaving us with:

Pr(Y = yi) = ∑ Pr(Y = yi)

which proves the statement.

2) The second part is asking you to show that the expected value of Y is equal to the expected value of the conditional expected value of Y given X. This can be represented as:

E(Y) = E(E(Y | X))

To prove this, we can use the definition of expected value: E(X) = ∑ x * Pr(X = x). Substituting this into the equation above, we get:

E(Y) = ∑ y * Pr(Y = y)

Now, we can use the definition of conditional expected value: E(X | Y) = ∑ x * Pr(X = x | Y = y). Substituting this into the equation above, we get:

E(Y) = ∑ ∑ y * Pr(X = x | Y = y) * Pr(Y = y)

We can rearrange the terms to get:

E(Y) = ∑ ∑ y
 

1. What is probability?

Probability is a measure of the likelihood of an event occurring. It is typically represented as a number between 0 and 1, with 0 meaning the event is impossible and 1 meaning the event is certain to occur.

2. How is probability calculated?

Probability is calculated by dividing the number of desired outcomes by the total number of possible outcomes. For example, if you roll a standard six-sided die, the probability of rolling a 3 is 1/6, because there is only one desired outcome (rolling a 3) out of six possible outcomes (rolling a number between 1 and 6).

3. What is the difference between theoretical and experimental probability?

Theoretical probability is the calculated probability based on a mathematical model, while experimental probability is based on actual outcomes from an experiment or real-world events. Theoretical probability is often used to predict the likelihood of an event, while experimental probability is used to analyze data and make conclusions based on observed outcomes.

4. What is the difference between independent and dependent events?

Independent events are events where the outcome of one event does not affect the outcome of another event. For example, flipping a coin twice is an independent event, because the outcome of the first flip does not impact the outcome of the second flip. Dependent events, on the other hand, are events where the outcome of one event does affect the outcome of another event. For example, drawing two cards from a deck without replacing the first card is a dependent event, because the probability of drawing the second card changes based on the outcome of the first draw.

5. How is probability used in real life?

Probability is used in many real-life situations, such as predicting the weather, determining the likelihood of a medical diagnosis, and calculating the chances of winning a lottery. It is also used in fields such as economics, finance, and sports to make predictions and inform decision making. Understanding probability can help us make more informed choices and better understand the world around us.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Programming and Computer Science
Replies
1
Views
943
  • Precalculus Mathematics Homework Help
Replies
7
Views
803
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
449
  • Precalculus Mathematics Homework Help
Replies
14
Views
2K
  • Precalculus Mathematics Homework Help
Replies
1
Views
2K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
Replies
4
Views
1K
Replies
2
Views
881
Back
Top