in Probability edited by
20,468 views
48 votes
48 votes
Let $X$ be a Gaussian random variable with mean 0 and variance $\sigma ^{2}$. Let $Y$ = $\max\left ( X,0 \right )$ where $\max\left ( a,b \right )$ is the maximum of $a$ and $b$. The median of $Y$ is ______________ .
in Probability edited by
by
20.5k views

4 Comments

@jiminpark 

  1. JBStatistics videos on youtube is a good start.
  2. yes, Normal distribution is also kmown as gaussian distribution.
1
1

@abcS Thank you Sir !

0
0

@jiminpark Iā€™m not a sir. An aspirant, just like you. :)

0
0

5 Answers

48 votes
48 votes
Best answer
Variable $Y$ can take only non-negative values. Median of a distribution is a value $c$ such that
$$P(0<Y<c) = P(c<Y<\infty)$$
Now for L.H.S., $Y$ will lie between $0$ and $c$ only when $X<c$ i.e $P(0<Y<c) = P(X<c)$.

For R.H.S,  $Y>c$ only when $X>c$ i.e. $P(c<Y<\infty) = P(X>c) = 1-P(X<c)$

Equating both sides, we get $P(X<c) = 1-P(X<c) \implies P(X<c) = 0.5 \implies c = 0$.

Hence $0$ is the answer.
edited by

4 Comments

@swami_9 Are you trying to prove that you are useless?

5
5

@Arjun this user @swami_9 is doing only these kind of things only...

0
0
Hoping that Iā€™m not mistaken, I think \(0\) shouldn't be the median of \(Y\) (at least by the arguments of the above accepted answer). A short proof to support my claim is as follows:-

Suppose, for the sake of contradiction, \(c=0\) is indeed the median of \(Y\). Plugging the value of \(c\) in

\[P\{0<Y<c\}=P\{c<Y<\infty\},\]

we get, \[P\{0<Y<0\}=P\{0<Y<\infty\},\] which is impossible, as no real number can be both less than and greater than \(0\) (or any other real number for that matter) at the same time. This implies that either the above definition of the median of a probability distribution is wrong, or \(0\) is not the median of \(Y\).

Suppose itā€™s the first case, and we relax our definition of the median of a probability distribution to

\[P\{0\leq Y\leq c\}=P\{c\leq Y<\infty\}.\]

Then putting the value of \(c=0\) in the above equation, we get,

\[P\{0\leq Y\leq 0\}=P\{0\leq Y<\infty\},\]

\[or,\ P\{Y=0\}=P\{0\leq Y<\infty\},\]

\[or,\ 0=P\{0\leq Y<\infty\}.\]

\(\Bigr[\)The last equation above follows from the second last equation above it because \(Y\) is a continuous random variable (as \(X\) is a continuous random variable), and for any continuous random variable \(Y\), with a probability density function \(f(x)\) and cumulative distribution function \(F(x)\), we have,

\[P\{Y=a, \text{where} \ a \in \mathbb{R}\} = \int_{a}^{a} f(x) \, dx = F(x) \Bigr|_{a}^{a} = F(a)-F(a)=0.\Bigr]\]

But, we know that \[0\neq P\{0\leq Y<\infty\},\] which is a contradiction, hence proving the claim that \(0\) is not the median of \(Y\).
0
0
59 votes
59 votes

$Y = max(0,X)$

so value generated by $Y$ would depend on value of $X$

$case\ 1 :$ when $X<0$ then $Y = max(0, -ve)=0$

$case\ 2 :$ when $X =0$ then $Y =max(0,0)=0$

$case\ 3 :$ When $X >0$ then $Y = max(0,X)=X$.

 

So what would be the sequence of values generated for $Y$ ?

$....... \underbrace{0,0,0,0,0,0,0}_{\text{when X is negative}}\ 0\ \underbrace{1,2,3,4,5,6,7}_{\text{when X is positive}} ......$

 

This is because $X$ is a Gaussian random variable  $\implies$ its curve would be same as that of normal distribution.

We know curve of normal distribution is always bell shaped and is split into $2$ equal halves by the mean value.

and in question it is given that $mean = 0$ so half the values of $X$ would be $-ve$ and half of them would be $+ve$

For every $-ve$ value of $X$ , $Y=0$ and for every $+ve$ value of  $X$, $Y=X$

Now what is median ?

The middle value of among a sequence is called median , like median of $0,2,2, 3,9$ is $2$ because $2$ is at the middle.


Similarly for this sequence

$\underbrace{0,0,0,0,0,0,0}_{\text{when X is negative}}\ 0\ \underbrace{1,2,3,4,5,6,7}_{\text{when X is positive}}$

the median would be $0$

 

hence median of $Y$ = middle value among the sequence $=0$

edited by

7 Comments

At top point, how r  u getting mean $\mu =0?$
0
0
given in question that mean=0
1
1
Are u saying

as mean is $0,$ median also be $0.$ As here median is depend on mean. right?
0
0
Yes you can say that because in symmetric distributions , mean=median=mode.
0
0
Clear explanation.
0
0
Brilliant answer
0
0
Great explanation
0
0
11 votes
11 votes

Simply , It can be solved in following ways :-

We have for X a continuous random variable with median 0, that means :

  • P(X ā‰¤ 0) = 1/2
  • P(X > 0) = 1/2

so, since X ā‰¤ 0 ā†’ Y = 0 and X > 0 ā†’ Y > 0,

  • P(Y = 0) = 1/2
  • P(Y > 0) = 1/2

And definition of a median (m) of random variable Y is :

  • P(Y ā‰¤ m) ā‰„ 1/2
  • P(Y ā‰„ m) ā‰„ 1/2

Therefore, median (m) of random variable Y is 0.

3 votes
3 votes

We can solve this by Simple Reasoning, that Median is Either X or 0(Zero if X is negative) and it's given that X is Gaussian Random Variable, if a Random Variable is Gaussian then it's Distribution is Gaussian/Normal Distribution.

So it's Normal Distribution and It's also given that Mean is 0, when mean is 0, Median is 0 always. you can also check the plot for different values of Mean and SD using https://www.desmos.com/calculator/0x3rpqtgrx

therefore Median is 0;

3 Comments

Is mode also zero here?
0
0
yes
0
0
Yes , because for all the negative values of X the function Y becomes 0 . So 0 is mostly repeated
0
0
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true