Let $E[X]$ be the expected value of X, what is the meaning of $E[X^n]$
$begingroup$
I am interested to understand what's the meaning of using powers in expected value.
Both mathematically and maybe intuitively, what does it even mean "the power of a random variable"?
Thanks!
probability expected-value
$endgroup$
add a comment |
$begingroup$
I am interested to understand what's the meaning of using powers in expected value.
Both mathematically and maybe intuitively, what does it even mean "the power of a random variable"?
Thanks!
probability expected-value
$endgroup$
1
$begingroup$
I would like to direct your attention here: en.m.wikipedia.org/wiki/Moment_(mathematics)
$endgroup$
– maxmilgram
Jan 18 at 7:33
add a comment |
$begingroup$
I am interested to understand what's the meaning of using powers in expected value.
Both mathematically and maybe intuitively, what does it even mean "the power of a random variable"?
Thanks!
probability expected-value
$endgroup$
I am interested to understand what's the meaning of using powers in expected value.
Both mathematically and maybe intuitively, what does it even mean "the power of a random variable"?
Thanks!
probability expected-value
probability expected-value
asked Jan 18 at 7:09
superuser123superuser123
48628
48628
1
$begingroup$
I would like to direct your attention here: en.m.wikipedia.org/wiki/Moment_(mathematics)
$endgroup$
– maxmilgram
Jan 18 at 7:33
add a comment |
1
$begingroup$
I would like to direct your attention here: en.m.wikipedia.org/wiki/Moment_(mathematics)
$endgroup$
– maxmilgram
Jan 18 at 7:33
1
1
$begingroup$
I would like to direct your attention here: en.m.wikipedia.org/wiki/Moment_(mathematics)
$endgroup$
– maxmilgram
Jan 18 at 7:33
$begingroup$
I would like to direct your attention here: en.m.wikipedia.org/wiki/Moment_(mathematics)
$endgroup$
– maxmilgram
Jan 18 at 7:33
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Here's a simple example in the discrete case.
Suppose we have a random variable $X$ for which $$Pr[X = -1] = 1/2, \ Pr[X = 1] = 1/3, \ Pr[X = 2] = 1/6.$$ Think of the set ${-1, 1, 2}$ as the set of possible outcomes of $X$, and the probability of observing one of these outcomes is described as above.
Now, if I want to ascertain the expected value of $X$, which in the frequentist viewpoint is in a sense the "long-run average" of many observations of $X$, then $$operatorname{E}[X] = (-1)Pr[X = -1] + (1)Pr[X = 1] + (2)Pr[X = 2] = -frac{1}{2} + frac{1}{3} + frac{2}{6} = frac{1}{6}.$$ Note that the expected value need not be one of the outcomes of $X$; in fact, $Pr[X = 1/6] = 0$ as implied by the probability distribution I've provided. What $1/6$ means here is that if we were to observe many realizations of $X$, and average them together, the result would tend toward $1/6$ as the number of observations increases.
So, what does something like $operatorname{E}[X^2]$ mean? The expression $X^2$ is another random variable that can be calculated from $X$; it means that whatever outcome $X$ is, $X^2$ is its square. Since $X in {-1, 1, 2}$, then $X^2 in {1, 4}$. We get this by taking the square of each outcome, and taking all the unique values. The probability mass function of $X^2$ is $$Pr[X^2 = 1] = Pr[X = -1] + Pr[X = 1] = frac{1}{2} + frac{1}{3} = frac{5}{6}, \ Pr[X^2 = 4] = Pr[X = 2] = frac{1}{6}.$$ Then $$operatorname{E}[X^2] = (1)Pr[X^2 = 1] + (4)Pr[X^2 = 4] = frac{5}{6} + frac{4}{6} = frac{3}{2}.$$
Of course, you can similarly calculate things like $operatorname{E}[X^3]$, $operatorname{E}[X^4]$, and so forth.
The idea here is that $X^n$ corresponds to another random variable whose set of outcomes (its support) and probability distribution are determined by those of $X$ in a way that naturally extends from the familiar rules of algebra. You can do this for continuous random variables too; or random variables with more complicated definitions. Note that $operatorname{E}[X]$ may be well-defined but $operatorname{E}[X^n]$ may not for certain $n$; a trivial example is if $Pr[X = 0] > 0$ and $n < 0$, in which case you'd have division by $0$. There also exist examples where $operatorname{E}[X^2]$ fails to exist even though $operatorname{E}[X]$ does.
$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%2f3077920%2flet-ex-be-the-expected-value-of-x-what-is-the-meaning-of-exn%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$
Here's a simple example in the discrete case.
Suppose we have a random variable $X$ for which $$Pr[X = -1] = 1/2, \ Pr[X = 1] = 1/3, \ Pr[X = 2] = 1/6.$$ Think of the set ${-1, 1, 2}$ as the set of possible outcomes of $X$, and the probability of observing one of these outcomes is described as above.
Now, if I want to ascertain the expected value of $X$, which in the frequentist viewpoint is in a sense the "long-run average" of many observations of $X$, then $$operatorname{E}[X] = (-1)Pr[X = -1] + (1)Pr[X = 1] + (2)Pr[X = 2] = -frac{1}{2} + frac{1}{3} + frac{2}{6} = frac{1}{6}.$$ Note that the expected value need not be one of the outcomes of $X$; in fact, $Pr[X = 1/6] = 0$ as implied by the probability distribution I've provided. What $1/6$ means here is that if we were to observe many realizations of $X$, and average them together, the result would tend toward $1/6$ as the number of observations increases.
So, what does something like $operatorname{E}[X^2]$ mean? The expression $X^2$ is another random variable that can be calculated from $X$; it means that whatever outcome $X$ is, $X^2$ is its square. Since $X in {-1, 1, 2}$, then $X^2 in {1, 4}$. We get this by taking the square of each outcome, and taking all the unique values. The probability mass function of $X^2$ is $$Pr[X^2 = 1] = Pr[X = -1] + Pr[X = 1] = frac{1}{2} + frac{1}{3} = frac{5}{6}, \ Pr[X^2 = 4] = Pr[X = 2] = frac{1}{6}.$$ Then $$operatorname{E}[X^2] = (1)Pr[X^2 = 1] + (4)Pr[X^2 = 4] = frac{5}{6} + frac{4}{6} = frac{3}{2}.$$
Of course, you can similarly calculate things like $operatorname{E}[X^3]$, $operatorname{E}[X^4]$, and so forth.
The idea here is that $X^n$ corresponds to another random variable whose set of outcomes (its support) and probability distribution are determined by those of $X$ in a way that naturally extends from the familiar rules of algebra. You can do this for continuous random variables too; or random variables with more complicated definitions. Note that $operatorname{E}[X]$ may be well-defined but $operatorname{E}[X^n]$ may not for certain $n$; a trivial example is if $Pr[X = 0] > 0$ and $n < 0$, in which case you'd have division by $0$. There also exist examples where $operatorname{E}[X^2]$ fails to exist even though $operatorname{E}[X]$ does.
$endgroup$
add a comment |
$begingroup$
Here's a simple example in the discrete case.
Suppose we have a random variable $X$ for which $$Pr[X = -1] = 1/2, \ Pr[X = 1] = 1/3, \ Pr[X = 2] = 1/6.$$ Think of the set ${-1, 1, 2}$ as the set of possible outcomes of $X$, and the probability of observing one of these outcomes is described as above.
Now, if I want to ascertain the expected value of $X$, which in the frequentist viewpoint is in a sense the "long-run average" of many observations of $X$, then $$operatorname{E}[X] = (-1)Pr[X = -1] + (1)Pr[X = 1] + (2)Pr[X = 2] = -frac{1}{2} + frac{1}{3} + frac{2}{6} = frac{1}{6}.$$ Note that the expected value need not be one of the outcomes of $X$; in fact, $Pr[X = 1/6] = 0$ as implied by the probability distribution I've provided. What $1/6$ means here is that if we were to observe many realizations of $X$, and average them together, the result would tend toward $1/6$ as the number of observations increases.
So, what does something like $operatorname{E}[X^2]$ mean? The expression $X^2$ is another random variable that can be calculated from $X$; it means that whatever outcome $X$ is, $X^2$ is its square. Since $X in {-1, 1, 2}$, then $X^2 in {1, 4}$. We get this by taking the square of each outcome, and taking all the unique values. The probability mass function of $X^2$ is $$Pr[X^2 = 1] = Pr[X = -1] + Pr[X = 1] = frac{1}{2} + frac{1}{3} = frac{5}{6}, \ Pr[X^2 = 4] = Pr[X = 2] = frac{1}{6}.$$ Then $$operatorname{E}[X^2] = (1)Pr[X^2 = 1] + (4)Pr[X^2 = 4] = frac{5}{6} + frac{4}{6} = frac{3}{2}.$$
Of course, you can similarly calculate things like $operatorname{E}[X^3]$, $operatorname{E}[X^4]$, and so forth.
The idea here is that $X^n$ corresponds to another random variable whose set of outcomes (its support) and probability distribution are determined by those of $X$ in a way that naturally extends from the familiar rules of algebra. You can do this for continuous random variables too; or random variables with more complicated definitions. Note that $operatorname{E}[X]$ may be well-defined but $operatorname{E}[X^n]$ may not for certain $n$; a trivial example is if $Pr[X = 0] > 0$ and $n < 0$, in which case you'd have division by $0$. There also exist examples where $operatorname{E}[X^2]$ fails to exist even though $operatorname{E}[X]$ does.
$endgroup$
add a comment |
$begingroup$
Here's a simple example in the discrete case.
Suppose we have a random variable $X$ for which $$Pr[X = -1] = 1/2, \ Pr[X = 1] = 1/3, \ Pr[X = 2] = 1/6.$$ Think of the set ${-1, 1, 2}$ as the set of possible outcomes of $X$, and the probability of observing one of these outcomes is described as above.
Now, if I want to ascertain the expected value of $X$, which in the frequentist viewpoint is in a sense the "long-run average" of many observations of $X$, then $$operatorname{E}[X] = (-1)Pr[X = -1] + (1)Pr[X = 1] + (2)Pr[X = 2] = -frac{1}{2} + frac{1}{3} + frac{2}{6} = frac{1}{6}.$$ Note that the expected value need not be one of the outcomes of $X$; in fact, $Pr[X = 1/6] = 0$ as implied by the probability distribution I've provided. What $1/6$ means here is that if we were to observe many realizations of $X$, and average them together, the result would tend toward $1/6$ as the number of observations increases.
So, what does something like $operatorname{E}[X^2]$ mean? The expression $X^2$ is another random variable that can be calculated from $X$; it means that whatever outcome $X$ is, $X^2$ is its square. Since $X in {-1, 1, 2}$, then $X^2 in {1, 4}$. We get this by taking the square of each outcome, and taking all the unique values. The probability mass function of $X^2$ is $$Pr[X^2 = 1] = Pr[X = -1] + Pr[X = 1] = frac{1}{2} + frac{1}{3} = frac{5}{6}, \ Pr[X^2 = 4] = Pr[X = 2] = frac{1}{6}.$$ Then $$operatorname{E}[X^2] = (1)Pr[X^2 = 1] + (4)Pr[X^2 = 4] = frac{5}{6} + frac{4}{6} = frac{3}{2}.$$
Of course, you can similarly calculate things like $operatorname{E}[X^3]$, $operatorname{E}[X^4]$, and so forth.
The idea here is that $X^n$ corresponds to another random variable whose set of outcomes (its support) and probability distribution are determined by those of $X$ in a way that naturally extends from the familiar rules of algebra. You can do this for continuous random variables too; or random variables with more complicated definitions. Note that $operatorname{E}[X]$ may be well-defined but $operatorname{E}[X^n]$ may not for certain $n$; a trivial example is if $Pr[X = 0] > 0$ and $n < 0$, in which case you'd have division by $0$. There also exist examples where $operatorname{E}[X^2]$ fails to exist even though $operatorname{E}[X]$ does.
$endgroup$
Here's a simple example in the discrete case.
Suppose we have a random variable $X$ for which $$Pr[X = -1] = 1/2, \ Pr[X = 1] = 1/3, \ Pr[X = 2] = 1/6.$$ Think of the set ${-1, 1, 2}$ as the set of possible outcomes of $X$, and the probability of observing one of these outcomes is described as above.
Now, if I want to ascertain the expected value of $X$, which in the frequentist viewpoint is in a sense the "long-run average" of many observations of $X$, then $$operatorname{E}[X] = (-1)Pr[X = -1] + (1)Pr[X = 1] + (2)Pr[X = 2] = -frac{1}{2} + frac{1}{3} + frac{2}{6} = frac{1}{6}.$$ Note that the expected value need not be one of the outcomes of $X$; in fact, $Pr[X = 1/6] = 0$ as implied by the probability distribution I've provided. What $1/6$ means here is that if we were to observe many realizations of $X$, and average them together, the result would tend toward $1/6$ as the number of observations increases.
So, what does something like $operatorname{E}[X^2]$ mean? The expression $X^2$ is another random variable that can be calculated from $X$; it means that whatever outcome $X$ is, $X^2$ is its square. Since $X in {-1, 1, 2}$, then $X^2 in {1, 4}$. We get this by taking the square of each outcome, and taking all the unique values. The probability mass function of $X^2$ is $$Pr[X^2 = 1] = Pr[X = -1] + Pr[X = 1] = frac{1}{2} + frac{1}{3} = frac{5}{6}, \ Pr[X^2 = 4] = Pr[X = 2] = frac{1}{6}.$$ Then $$operatorname{E}[X^2] = (1)Pr[X^2 = 1] + (4)Pr[X^2 = 4] = frac{5}{6} + frac{4}{6} = frac{3}{2}.$$
Of course, you can similarly calculate things like $operatorname{E}[X^3]$, $operatorname{E}[X^4]$, and so forth.
The idea here is that $X^n$ corresponds to another random variable whose set of outcomes (its support) and probability distribution are determined by those of $X$ in a way that naturally extends from the familiar rules of algebra. You can do this for continuous random variables too; or random variables with more complicated definitions. Note that $operatorname{E}[X]$ may be well-defined but $operatorname{E}[X^n]$ may not for certain $n$; a trivial example is if $Pr[X = 0] > 0$ and $n < 0$, in which case you'd have division by $0$. There also exist examples where $operatorname{E}[X^2]$ fails to exist even though $operatorname{E}[X]$ does.
answered Jan 18 at 7:36
heropupheropup
65.6k865104
65.6k865104
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%2f3077920%2flet-ex-be-the-expected-value-of-x-what-is-the-meaning-of-exn%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$
I would like to direct your attention here: en.m.wikipedia.org/wiki/Moment_(mathematics)
$endgroup$
– maxmilgram
Jan 18 at 7:33