Trying to understand random variables

MadMath
Messages
3
Reaction score
0

Homework Statement



Let's say you have a number from [-2,4], with X(ζ) = -ζ + 4[/B]

Find (a) P([-2,4]) and (b) P({X≤2})

Homework Equations


{X = x} = {ζ ∈ S: X(ζ) =x }

The Attempt at a Solution



It looks like my sample space, S = [-2,4].

(a) For P([-2,4])

{-2 ≤ X ≤ 4} = {ζ ∈ S: -2 ≤ X(ζ) ≤ 4}

= {ζ ∈ S: -2 ≤ -ζ + 4 ≤ 4}

= {ζ ∈ S: 0 ≤ ζ ≤ 6}

= [0,6], but since ζ ∈ S => [0,4]

At this point I didn't know how I find my probability, do I take the quotient of the (length)/(length of my S)

I.e. P[(-2,4)] = 4/6?

(b) If this is true, does that mean:

P({X≤2}) = {X ≤ 2} = {ζ ∈ S: X(ζ) ≤ 2}

= {ζ ∈ S: -ζ + 4 ≤ 2}

= {ζ ∈ S: 2 ≤ ζ } = [2]

= 1/6

Any advice and tips would be appreciated
 
Last edited:
Physics news on Phys.org
To understand a real-valued random variable ##X## we need at least four things:

1. A sample space ##\Omega##. You have said this is the interval [-2,4]
2. A sigma field ##\Sigma## that tells us which subsets of ##\Omega## are measurable. This is not specified in your problem but that's OK because it's usual to assume in such cases that it is the collection of Borel sets, which is basically any reasonably well-behaved set.
3. A probability measure ##P## that assigns probabilities to subsets of the sample space that are in ##\Sigma##. THis is missing from the problem statement.
4. A function ##X## from ##\Omega## to ##\mathbb R##. You have given this as ##\zeta\mapsto 4-\zeta##.

The problem statement is incomplete because ##P## is not given.

Part (a) can be solved because it just asks the probability measure of the entire sample space, which by definition is always 1.

Part (b) asks for the measure of the following subset of ##\Omega##:
$$\{\zeta\in\Omega\ :\ -\zeta+4\leq 2\}$$
Since this is a proper subset of ##\Omega## and we have not been told the probability measure ##P##, the problem cannot be solved.

Are you sure you haven't left anything out of your recounting of the problem? Did they for instance say that ##X## is uniformly distributed?

Also, the calculations in (b) have an error. ##X\leq 2## is not the same as ##-2\leq X\leq 2##. What is the range of ##X##?
 
andrewkirk said:
To understand a real-valued random variable ##X## we need at least four things:

1. A sample space ##\Omega##. You have said this is the interval [-2,4]
2. A sigma field ##\Sigma## that tells us which subsets of ##\Omega## are measurable. This is not specified in your problem but that's OK because it's usual to assume in such cases that it is the collection of Borel sets, which is basically any reasonably well-behaved set.
3. A probability measure ##P## that assigns probabilities to subsets of the sample space that are in ##\Sigma##. THis is missing from the problem statement.
4. A function ##X## from ##\Omega## to ##\mathbb R##. You have given this as ##\zeta\mapsto 4-\zeta##.

The problem statement is incomplete because ##P## is not given.

Part (a) can be solved because it just asks the probability measure of the entire sample space, which by definition is always 1.

Part (b) asks for the measure of the following subset of ##\Omega##:
$$\{\zeta\in\Omega\ :\ -\zeta+4\leq 2\}$$
Since this is a proper subset of ##\Omega## and we have not been told the probability measure ##P##, the problem cannot be solved.

Are you sure you haven't left anything out of your recounting of the problem? Did they for instance say that ##X## is uniformly distributed?

Also, the calculations in (b) have an error. ##X\leq 2## is not the same as ##-2\leq X\leq 2##. What is the range of ##X##?

I just took a look at the problem statement, it does not mention anything about X being uniformly distributed. I fixed the range for part (b). Are real valued random variable problems usually assumed to be uniformly distributed?
 
MadMath said:
Are real valued random variable problems usually assumed to be uniformly distributed?
Not necessarily. It would help if you posted an image - eg a clear photo - of the problem statement exactly as given to you.
 
andrewkirk said:
Not necessarily. It would help if you posted an image - eg a clear photo - of the problem statement exactly as given to you.

Unfortunately everything I posted is already shown in the original post.

"Choose a number a random from [-2,4], and let ܺX(ζ) = -ζ + 4. Find the following:

(a)P([-2,4])
(b) P({X≤2})
"
 
That is insufficient information to solve the problem.
 
MadMath said:
Unfortunately everything I posted is already shown in the original post.

"Choose a number a random from [-2,4]

No, I'm sure it did not state that. Perhaps it stated "Choose a number at random from...", which might plausibly be interpreted as being from a uniform distribution.
 
MadMath said:
Unfortunately everything I posted is already shown in the original post.

"Choose a number a random from [-2,4], and let ܺX(ζ) = -ζ + 4. Find the following:

(a)P([-2,4])
(b) P({X≤2})
"
It is not clear whether (a) asks for ##P\{ \zeta \in [-2,4] \}## (which, of course, equals 1 by definition of the sample space for ##\zeta##), or whether it asks for ##P\{ X(\zeta) \in [-2,4]\}## (which, of course, is the same as ##P\{ X(\zeta) \in [0,4]\} = P\{ \zeta \in [0,6] \} = P\{ \zeta \in [0,4] \}## as you said).
Perhaps part (b) just wants you to express ##P \{ X \leq 2 \}## in terms of the (cumulative) distribution function ##F_{\zeta}(z)## of the random variable ##\zeta##.
 
LCKurtz said:
No, I'm sure it did not state that. Perhaps it stated "Choose a number at random from...", which might plausibly be interpreted as being from a uniform distribution.
Yes, I'd say it is making the common misuse of "at random" to imply a uniform distribution. Strictly speaking, it tells you nothing about the distribution, it could even be deterministic. One hopes for better from textbooks and teachers.
 
Back
Top