Question on finding the median of a discrete random variable
$begingroup$
I have been trying to solve this math problem, but I end up with a different answer, I suspect the publisher probably used a different approach but I am not sure which one.
Here is my attempt:
My cumulative distribution function, $F(x) = P(X leq x)$ is same as what they have.
To find the median I used this definition: The median is the value of $X$ for which $P(X leq x)$ is greater than or equal to 0.5 and $P(X geq x)$ is greater than or equal to 0.5.
So the median is 2 because $P(X leq 2) = 0.7$ and $P(X geq 2) = 0.7$
I will appreciate any help.
probability-distributions
$endgroup$
add a comment |
$begingroup$
I have been trying to solve this math problem, but I end up with a different answer, I suspect the publisher probably used a different approach but I am not sure which one.
Here is my attempt:
My cumulative distribution function, $F(x) = P(X leq x)$ is same as what they have.
To find the median I used this definition: The median is the value of $X$ for which $P(X leq x)$ is greater than or equal to 0.5 and $P(X geq x)$ is greater than or equal to 0.5.
So the median is 2 because $P(X leq 2) = 0.7$ and $P(X geq 2) = 0.7$
I will appreciate any help.
probability-distributions
$endgroup$
1
$begingroup$
Bad textbook. You were right to stick to the definition.
$endgroup$
– Did
Jan 1 at 18:24
add a comment |
$begingroup$
I have been trying to solve this math problem, but I end up with a different answer, I suspect the publisher probably used a different approach but I am not sure which one.
Here is my attempt:
My cumulative distribution function, $F(x) = P(X leq x)$ is same as what they have.
To find the median I used this definition: The median is the value of $X$ for which $P(X leq x)$ is greater than or equal to 0.5 and $P(X geq x)$ is greater than or equal to 0.5.
So the median is 2 because $P(X leq 2) = 0.7$ and $P(X geq 2) = 0.7$
I will appreciate any help.
probability-distributions
$endgroup$
I have been trying to solve this math problem, but I end up with a different answer, I suspect the publisher probably used a different approach but I am not sure which one.
Here is my attempt:
My cumulative distribution function, $F(x) = P(X leq x)$ is same as what they have.
To find the median I used this definition: The median is the value of $X$ for which $P(X leq x)$ is greater than or equal to 0.5 and $P(X geq x)$ is greater than or equal to 0.5.
So the median is 2 because $P(X leq 2) = 0.7$ and $P(X geq 2) = 0.7$
I will appreciate any help.
probability-distributions
probability-distributions
edited Jan 1 at 10:55
twnly
1,2341214
1,2341214
asked Jan 1 at 10:37
Meghan CMeghan C
21328
21328
1
$begingroup$
Bad textbook. You were right to stick to the definition.
$endgroup$
– Did
Jan 1 at 18:24
add a comment |
1
$begingroup$
Bad textbook. You were right to stick to the definition.
$endgroup$
– Did
Jan 1 at 18:24
1
1
$begingroup$
Bad textbook. You were right to stick to the definition.
$endgroup$
– Did
Jan 1 at 18:24
$begingroup$
Bad textbook. You were right to stick to the definition.
$endgroup$
– Did
Jan 1 at 18:24
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
I agree that the median $x_m$ is $2$ and must be an integer. The random variable is distributed as $Xsim Bin(4,0.5)$
Then we have to find the integer of $X$ which satisfies the following two conditions at the same time:
$P(Xleq x_m)geq 0.5$
$P(Xgeq x_m)geq 0.5$
For $x_m=1$ we get:
$sum_{k=0}^1 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{1}{16}+frac{4}{16}=frac{5}{16} not geq 0.5 quad quad large{color{red}{times}}$
$sum_{k=1}^4 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{4}{16}+frac{6}{16}+frac{4}{16}+frac{1}{16}=frac{15}{16} geq 0.5 quad quad large{color{green}{checkmark}}$
We have to check the next higher integer since the first condition is not fulfilled: $x_m=2$
$sum_{k=0}^2 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{1}{16}+frac{4}{16}+frac{6}{16}=frac{11}{16} geq 0.5 quad quad large{color{green}{checkmark}}$
$sum_{k=2}^4 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{6}{16}+frac{4}{16}+frac{1}{16}=frac{11}{16} geq 0.5 quad quad large{color{green}{checkmark}}$
Both conditions are fulfilled. I´ve never got the number $0.7$ but the median is indeed $2$.
$endgroup$
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3058368%2fquestion-on-finding-the-median-of-a-discrete-random-variable%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
I agree that the median $x_m$ is $2$ and must be an integer. The random variable is distributed as $Xsim Bin(4,0.5)$
Then we have to find the integer of $X$ which satisfies the following two conditions at the same time:
$P(Xleq x_m)geq 0.5$
$P(Xgeq x_m)geq 0.5$
For $x_m=1$ we get:
$sum_{k=0}^1 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{1}{16}+frac{4}{16}=frac{5}{16} not geq 0.5 quad quad large{color{red}{times}}$
$sum_{k=1}^4 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{4}{16}+frac{6}{16}+frac{4}{16}+frac{1}{16}=frac{15}{16} geq 0.5 quad quad large{color{green}{checkmark}}$
We have to check the next higher integer since the first condition is not fulfilled: $x_m=2$
$sum_{k=0}^2 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{1}{16}+frac{4}{16}+frac{6}{16}=frac{11}{16} geq 0.5 quad quad large{color{green}{checkmark}}$
$sum_{k=2}^4 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{6}{16}+frac{4}{16}+frac{1}{16}=frac{11}{16} geq 0.5 quad quad large{color{green}{checkmark}}$
Both conditions are fulfilled. I´ve never got the number $0.7$ but the median is indeed $2$.
$endgroup$
add a comment |
$begingroup$
I agree that the median $x_m$ is $2$ and must be an integer. The random variable is distributed as $Xsim Bin(4,0.5)$
Then we have to find the integer of $X$ which satisfies the following two conditions at the same time:
$P(Xleq x_m)geq 0.5$
$P(Xgeq x_m)geq 0.5$
For $x_m=1$ we get:
$sum_{k=0}^1 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{1}{16}+frac{4}{16}=frac{5}{16} not geq 0.5 quad quad large{color{red}{times}}$
$sum_{k=1}^4 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{4}{16}+frac{6}{16}+frac{4}{16}+frac{1}{16}=frac{15}{16} geq 0.5 quad quad large{color{green}{checkmark}}$
We have to check the next higher integer since the first condition is not fulfilled: $x_m=2$
$sum_{k=0}^2 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{1}{16}+frac{4}{16}+frac{6}{16}=frac{11}{16} geq 0.5 quad quad large{color{green}{checkmark}}$
$sum_{k=2}^4 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{6}{16}+frac{4}{16}+frac{1}{16}=frac{11}{16} geq 0.5 quad quad large{color{green}{checkmark}}$
Both conditions are fulfilled. I´ve never got the number $0.7$ but the median is indeed $2$.
$endgroup$
add a comment |
$begingroup$
I agree that the median $x_m$ is $2$ and must be an integer. The random variable is distributed as $Xsim Bin(4,0.5)$
Then we have to find the integer of $X$ which satisfies the following two conditions at the same time:
$P(Xleq x_m)geq 0.5$
$P(Xgeq x_m)geq 0.5$
For $x_m=1$ we get:
$sum_{k=0}^1 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{1}{16}+frac{4}{16}=frac{5}{16} not geq 0.5 quad quad large{color{red}{times}}$
$sum_{k=1}^4 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{4}{16}+frac{6}{16}+frac{4}{16}+frac{1}{16}=frac{15}{16} geq 0.5 quad quad large{color{green}{checkmark}}$
We have to check the next higher integer since the first condition is not fulfilled: $x_m=2$
$sum_{k=0}^2 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{1}{16}+frac{4}{16}+frac{6}{16}=frac{11}{16} geq 0.5 quad quad large{color{green}{checkmark}}$
$sum_{k=2}^4 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{6}{16}+frac{4}{16}+frac{1}{16}=frac{11}{16} geq 0.5 quad quad large{color{green}{checkmark}}$
Both conditions are fulfilled. I´ve never got the number $0.7$ but the median is indeed $2$.
$endgroup$
I agree that the median $x_m$ is $2$ and must be an integer. The random variable is distributed as $Xsim Bin(4,0.5)$
Then we have to find the integer of $X$ which satisfies the following two conditions at the same time:
$P(Xleq x_m)geq 0.5$
$P(Xgeq x_m)geq 0.5$
For $x_m=1$ we get:
$sum_{k=0}^1 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{1}{16}+frac{4}{16}=frac{5}{16} not geq 0.5 quad quad large{color{red}{times}}$
$sum_{k=1}^4 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{4}{16}+frac{6}{16}+frac{4}{16}+frac{1}{16}=frac{15}{16} geq 0.5 quad quad large{color{green}{checkmark}}$
We have to check the next higher integer since the first condition is not fulfilled: $x_m=2$
$sum_{k=0}^2 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{1}{16}+frac{4}{16}+frac{6}{16}=frac{11}{16} geq 0.5 quad quad large{color{green}{checkmark}}$
$sum_{k=2}^4 binom{4}{k} cdot 0.5^kcdot 0.5^{4-k}=frac{6}{16}+frac{4}{16}+frac{1}{16}=frac{11}{16} geq 0.5 quad quad large{color{green}{checkmark}}$
Both conditions are fulfilled. I´ve never got the number $0.7$ but the median is indeed $2$.
answered Jan 1 at 18:09
callculuscallculus
18.9k31729
18.9k31729
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3058368%2fquestion-on-finding-the-median-of-a-discrete-random-variable%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
$begingroup$
Bad textbook. You were right to stick to the definition.
$endgroup$
– Did
Jan 1 at 18:24