Deriving the equation for variance The Next CEO of Stack OverflowHow does one measure the non-uniformity of a distribution?Chi-square independence in political sciencesUnderstanding the role of the chi-squared distribution in the confidence interval for the varianceUsing years when calculating linear regression?Variance in estimating p for a binomial distributionLearning functional analysis for studying kernelsDefine model and interpret multinomial regressionwhat can I take from different sample sizesDoes the expected value of f(x) go down if f is concave and the variance of X increases?Discouraged by simple Bayesian Question
Towers in the ocean; How deep can they be built?
Is there an equivalent of cd - for cp or mv
Reference request: Grassmannian and Plucker coordinates in type B, C, D
AB diagonalizable then BA also diagonalizable
New carbon wheel brake pads after use on aluminum wheel?
Calculate the Mean mean of two numbers
Can Sneak Attack be used when hitting with an improvised weapon?
Is it ever safe to open a suspicious HTML file (e.g. email attachment)?
Why is information "lost" when it got into a black hole?
Is it correct to say moon starry nights?
How to use ReplaceAll on an expression that contains a rule
Is "three point ish" an acceptable use of ish?
Is it professional to write unrelated content in an almost-empty email?
Do scriptures give a method to recognize a truly self-realized person/jivanmukta?
Do I need to write [sic] when including a quotation with a number less than 10 that isn't written out?
Is a distribution that is normal, but highly skewed, considered Gaussian?
Why the last AS PATH item always is `I` or `?`?
Is dried pee considered dirt?
From jafe to El-Guest
What does "shotgun unity" refer to here in this sentence?
Why don't programming languages automatically manage the synchronous/asynchronous problem?
"Eavesdropping" vs "Listen in on"
TikZ: How to fill area with a special pattern?
Is there a way to save my career from absolute disaster?
Deriving the equation for variance
The Next CEO of Stack OverflowHow does one measure the non-uniformity of a distribution?Chi-square independence in political sciencesUnderstanding the role of the chi-squared distribution in the confidence interval for the varianceUsing years when calculating linear regression?Variance in estimating p for a binomial distributionLearning functional analysis for studying kernelsDefine model and interpret multinomial regressionwhat can I take from different sample sizesDoes the expected value of f(x) go down if f is concave and the variance of X increases?Discouraged by simple Bayesian Question
$begingroup$
I am trying to understand variance, and when I look at the fully derived equation on wikipedia, I do not understand how we are able to make the jump from B to C.

When simplifying, 2(XE[X]) where does the 2X go? I understand how we get 2E[X], but I'm not sure why or how the 2X is able to be removed.
Sorry for this stupid question. I haven't taken a math class in about 7 years, and I'm trying to get back in to it... Thanks for your help :)
self-study variance
New contributor
snarkshark is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
|
show 1 more comment
$begingroup$
I am trying to understand variance, and when I look at the fully derived equation on wikipedia, I do not understand how we are able to make the jump from B to C.

When simplifying, 2(XE[X]) where does the 2X go? I understand how we get 2E[X], but I'm not sure why or how the 2X is able to be removed.
Sorry for this stupid question. I haven't taken a math class in about 7 years, and I'm trying to get back in to it... Thanks for your help :)
self-study variance
New contributor
snarkshark is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
$begingroup$
This is not a stupid question. It's not just simplifying... notice that B has an expectation of the entire expression, while C does not. (And welcome to CV, snarkshark!)
$endgroup$
– Alexis
6 hours ago
1
$begingroup$
Hi, @Alexis :) I noticed that, but I'm still confused. Does E[-2XE[X]] somehow become 1? I dont understand how its eliminated from the equation still :'(
$endgroup$
– snarkshark
6 hours ago
$begingroup$
As an aside, you might read about the self-study tag, and edit your question (the "edit" link at lower left) to inlcude it.
$endgroup$
– Alexis
6 hours ago
$begingroup$
Well simplifying does enter thereafter. What is $E[(-2)]$? What is $E[(X)]$? What is $E[(E[X])]$? And so, what is $E[(-2XE[X])]$?
$endgroup$
– Alexis
5 hours ago
$begingroup$
E[(-2)] = -2 (averaging itself is just itself); E[X] = X; and E[(E[X])] = E[X] = X; so... 𝐸[(−2𝑋𝐸[𝑋])] just ends up being -2X and its removed from the equation because its a constant? Thanks for your patience with my dumb questions ^^;;
$endgroup$
– snarkshark
5 hours ago
|
show 1 more comment
$begingroup$
I am trying to understand variance, and when I look at the fully derived equation on wikipedia, I do not understand how we are able to make the jump from B to C.

When simplifying, 2(XE[X]) where does the 2X go? I understand how we get 2E[X], but I'm not sure why or how the 2X is able to be removed.
Sorry for this stupid question. I haven't taken a math class in about 7 years, and I'm trying to get back in to it... Thanks for your help :)
self-study variance
New contributor
snarkshark is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
I am trying to understand variance, and when I look at the fully derived equation on wikipedia, I do not understand how we are able to make the jump from B to C.

When simplifying, 2(XE[X]) where does the 2X go? I understand how we get 2E[X], but I'm not sure why or how the 2X is able to be removed.
Sorry for this stupid question. I haven't taken a math class in about 7 years, and I'm trying to get back in to it... Thanks for your help :)
self-study variance
self-study variance
New contributor
snarkshark is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
snarkshark is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 5 hours ago
snarkshark
New contributor
snarkshark is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 6 hours ago
snarksharksnarkshark
82
82
New contributor
snarkshark is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
snarkshark is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
snarkshark is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$begingroup$
This is not a stupid question. It's not just simplifying... notice that B has an expectation of the entire expression, while C does not. (And welcome to CV, snarkshark!)
$endgroup$
– Alexis
6 hours ago
1
$begingroup$
Hi, @Alexis :) I noticed that, but I'm still confused. Does E[-2XE[X]] somehow become 1? I dont understand how its eliminated from the equation still :'(
$endgroup$
– snarkshark
6 hours ago
$begingroup$
As an aside, you might read about the self-study tag, and edit your question (the "edit" link at lower left) to inlcude it.
$endgroup$
– Alexis
6 hours ago
$begingroup$
Well simplifying does enter thereafter. What is $E[(-2)]$? What is $E[(X)]$? What is $E[(E[X])]$? And so, what is $E[(-2XE[X])]$?
$endgroup$
– Alexis
5 hours ago
$begingroup$
E[(-2)] = -2 (averaging itself is just itself); E[X] = X; and E[(E[X])] = E[X] = X; so... 𝐸[(−2𝑋𝐸[𝑋])] just ends up being -2X and its removed from the equation because its a constant? Thanks for your patience with my dumb questions ^^;;
$endgroup$
– snarkshark
5 hours ago
|
show 1 more comment
$begingroup$
This is not a stupid question. It's not just simplifying... notice that B has an expectation of the entire expression, while C does not. (And welcome to CV, snarkshark!)
$endgroup$
– Alexis
6 hours ago
1
$begingroup$
Hi, @Alexis :) I noticed that, but I'm still confused. Does E[-2XE[X]] somehow become 1? I dont understand how its eliminated from the equation still :'(
$endgroup$
– snarkshark
6 hours ago
$begingroup$
As an aside, you might read about the self-study tag, and edit your question (the "edit" link at lower left) to inlcude it.
$endgroup$
– Alexis
6 hours ago
$begingroup$
Well simplifying does enter thereafter. What is $E[(-2)]$? What is $E[(X)]$? What is $E[(E[X])]$? And so, what is $E[(-2XE[X])]$?
$endgroup$
– Alexis
5 hours ago
$begingroup$
E[(-2)] = -2 (averaging itself is just itself); E[X] = X; and E[(E[X])] = E[X] = X; so... 𝐸[(−2𝑋𝐸[𝑋])] just ends up being -2X and its removed from the equation because its a constant? Thanks for your patience with my dumb questions ^^;;
$endgroup$
– snarkshark
5 hours ago
$begingroup$
This is not a stupid question. It's not just simplifying... notice that B has an expectation of the entire expression, while C does not. (And welcome to CV, snarkshark!)
$endgroup$
– Alexis
6 hours ago
$begingroup$
This is not a stupid question. It's not just simplifying... notice that B has an expectation of the entire expression, while C does not. (And welcome to CV, snarkshark!)
$endgroup$
– Alexis
6 hours ago
1
1
$begingroup$
Hi, @Alexis :) I noticed that, but I'm still confused. Does E[-2XE[X]] somehow become 1? I dont understand how its eliminated from the equation still :'(
$endgroup$
– snarkshark
6 hours ago
$begingroup$
Hi, @Alexis :) I noticed that, but I'm still confused. Does E[-2XE[X]] somehow become 1? I dont understand how its eliminated from the equation still :'(
$endgroup$
– snarkshark
6 hours ago
$begingroup$
As an aside, you might read about the self-study tag, and edit your question (the "edit" link at lower left) to inlcude it.
$endgroup$
– Alexis
6 hours ago
$begingroup$
As an aside, you might read about the self-study tag, and edit your question (the "edit" link at lower left) to inlcude it.
$endgroup$
– Alexis
6 hours ago
$begingroup$
Well simplifying does enter thereafter. What is $E[(-2)]$? What is $E[(X)]$? What is $E[(E[X])]$? And so, what is $E[(-2XE[X])]$?
$endgroup$
– Alexis
5 hours ago
$begingroup$
Well simplifying does enter thereafter. What is $E[(-2)]$? What is $E[(X)]$? What is $E[(E[X])]$? And so, what is $E[(-2XE[X])]$?
$endgroup$
– Alexis
5 hours ago
$begingroup$
E[(-2)] = -2 (averaging itself is just itself); E[X] = X; and E[(E[X])] = E[X] = X; so... 𝐸[(−2𝑋𝐸[𝑋])] just ends up being -2X and its removed from the equation because its a constant? Thanks for your patience with my dumb questions ^^;;
$endgroup$
– snarkshark
5 hours ago
$begingroup$
E[(-2)] = -2 (averaging itself is just itself); E[X] = X; and E[(E[X])] = E[X] = X; so... 𝐸[(−2𝑋𝐸[𝑋])] just ends up being -2X and its removed from the equation because its a constant? Thanks for your patience with my dumb questions ^^;;
$endgroup$
– snarkshark
5 hours ago
|
show 1 more comment
2 Answers
2
active
oldest
votes
$begingroup$
You distribute $E[.]$ operator into each summand, since it is a linear operator by definition. So, the middle term is $E[2XE[X]]=2E[XE[X]]$. When calculated $E[X]$ is constant, and therefore removed from the expectation (let $E[X]=mu$):
$$2E[Xmu]=2mu E[X]=2E[X]E[X]=2E[X]^2$$
$endgroup$
1
$begingroup$
Hi! Thanks so much for taking the time to answer. A few questions: 1) Why do you put a dot in E[.] operator? Is this some kind of common notation? 2) To clarify, since E[] is essentially just an averaging equation, is that why you can move the 2 outside of the inner E[]? I don't really have the intuition for it being linear and such yet ^^;;
$endgroup$
– snarkshark
5 hours ago
1
$begingroup$
@snarkshark, 1. it doesn't have a special meaning. Notationally, dot generally refers to some expression. 2. Intuitionally yes. If average of $X$ is $E[X]$, then average of $aX$ is $aE[X]$. Mathematically, Think about $E[f(X)]=sum f(x)p_X(x)$ for discrete RVs. If $f(X)=aX$, where $a$ is a constant, then $E[aX]=sum axp_X(x)=asum x p_X(x)$. Situation is similar if $sum$ is replaced by $int$ when the variable is continuous.
$endgroup$
– gunes
5 hours ago
1
$begingroup$
Ah, I didn't realize that summation symbols always implied discrete :) Thanks! That makes a lot more sense now. Thank you
$endgroup$
– snarkshark
5 hours ago
add a comment |
$begingroup$
The 2X doesn't disappear. When you distribute the E[] operator, it turns into 2E[X]. Thus E[... -2XE[X] + ...] becomes ... - 2E[X]E[X] + ... (because E[E[X]]=E[X]) and then the term simplifies with the other E[X]² term.
$endgroup$
add a comment |
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "65"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
snarkshark is a new contributor. Be nice, and check out our Code of Conduct.
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%2fstats.stackexchange.com%2fquestions%2f400429%2fderiving-the-equation-for-variance%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
You distribute $E[.]$ operator into each summand, since it is a linear operator by definition. So, the middle term is $E[2XE[X]]=2E[XE[X]]$. When calculated $E[X]$ is constant, and therefore removed from the expectation (let $E[X]=mu$):
$$2E[Xmu]=2mu E[X]=2E[X]E[X]=2E[X]^2$$
$endgroup$
1
$begingroup$
Hi! Thanks so much for taking the time to answer. A few questions: 1) Why do you put a dot in E[.] operator? Is this some kind of common notation? 2) To clarify, since E[] is essentially just an averaging equation, is that why you can move the 2 outside of the inner E[]? I don't really have the intuition for it being linear and such yet ^^;;
$endgroup$
– snarkshark
5 hours ago
1
$begingroup$
@snarkshark, 1. it doesn't have a special meaning. Notationally, dot generally refers to some expression. 2. Intuitionally yes. If average of $X$ is $E[X]$, then average of $aX$ is $aE[X]$. Mathematically, Think about $E[f(X)]=sum f(x)p_X(x)$ for discrete RVs. If $f(X)=aX$, where $a$ is a constant, then $E[aX]=sum axp_X(x)=asum x p_X(x)$. Situation is similar if $sum$ is replaced by $int$ when the variable is continuous.
$endgroup$
– gunes
5 hours ago
1
$begingroup$
Ah, I didn't realize that summation symbols always implied discrete :) Thanks! That makes a lot more sense now. Thank you
$endgroup$
– snarkshark
5 hours ago
add a comment |
$begingroup$
You distribute $E[.]$ operator into each summand, since it is a linear operator by definition. So, the middle term is $E[2XE[X]]=2E[XE[X]]$. When calculated $E[X]$ is constant, and therefore removed from the expectation (let $E[X]=mu$):
$$2E[Xmu]=2mu E[X]=2E[X]E[X]=2E[X]^2$$
$endgroup$
1
$begingroup$
Hi! Thanks so much for taking the time to answer. A few questions: 1) Why do you put a dot in E[.] operator? Is this some kind of common notation? 2) To clarify, since E[] is essentially just an averaging equation, is that why you can move the 2 outside of the inner E[]? I don't really have the intuition for it being linear and such yet ^^;;
$endgroup$
– snarkshark
5 hours ago
1
$begingroup$
@snarkshark, 1. it doesn't have a special meaning. Notationally, dot generally refers to some expression. 2. Intuitionally yes. If average of $X$ is $E[X]$, then average of $aX$ is $aE[X]$. Mathematically, Think about $E[f(X)]=sum f(x)p_X(x)$ for discrete RVs. If $f(X)=aX$, where $a$ is a constant, then $E[aX]=sum axp_X(x)=asum x p_X(x)$. Situation is similar if $sum$ is replaced by $int$ when the variable is continuous.
$endgroup$
– gunes
5 hours ago
1
$begingroup$
Ah, I didn't realize that summation symbols always implied discrete :) Thanks! That makes a lot more sense now. Thank you
$endgroup$
– snarkshark
5 hours ago
add a comment |
$begingroup$
You distribute $E[.]$ operator into each summand, since it is a linear operator by definition. So, the middle term is $E[2XE[X]]=2E[XE[X]]$. When calculated $E[X]$ is constant, and therefore removed from the expectation (let $E[X]=mu$):
$$2E[Xmu]=2mu E[X]=2E[X]E[X]=2E[X]^2$$
$endgroup$
You distribute $E[.]$ operator into each summand, since it is a linear operator by definition. So, the middle term is $E[2XE[X]]=2E[XE[X]]$. When calculated $E[X]$ is constant, and therefore removed from the expectation (let $E[X]=mu$):
$$2E[Xmu]=2mu E[X]=2E[X]E[X]=2E[X]^2$$
edited 5 hours ago
answered 6 hours ago
gunesgunes
6,6551215
6,6551215
1
$begingroup$
Hi! Thanks so much for taking the time to answer. A few questions: 1) Why do you put a dot in E[.] operator? Is this some kind of common notation? 2) To clarify, since E[] is essentially just an averaging equation, is that why you can move the 2 outside of the inner E[]? I don't really have the intuition for it being linear and such yet ^^;;
$endgroup$
– snarkshark
5 hours ago
1
$begingroup$
@snarkshark, 1. it doesn't have a special meaning. Notationally, dot generally refers to some expression. 2. Intuitionally yes. If average of $X$ is $E[X]$, then average of $aX$ is $aE[X]$. Mathematically, Think about $E[f(X)]=sum f(x)p_X(x)$ for discrete RVs. If $f(X)=aX$, where $a$ is a constant, then $E[aX]=sum axp_X(x)=asum x p_X(x)$. Situation is similar if $sum$ is replaced by $int$ when the variable is continuous.
$endgroup$
– gunes
5 hours ago
1
$begingroup$
Ah, I didn't realize that summation symbols always implied discrete :) Thanks! That makes a lot more sense now. Thank you
$endgroup$
– snarkshark
5 hours ago
add a comment |
1
$begingroup$
Hi! Thanks so much for taking the time to answer. A few questions: 1) Why do you put a dot in E[.] operator? Is this some kind of common notation? 2) To clarify, since E[] is essentially just an averaging equation, is that why you can move the 2 outside of the inner E[]? I don't really have the intuition for it being linear and such yet ^^;;
$endgroup$
– snarkshark
5 hours ago
1
$begingroup$
@snarkshark, 1. it doesn't have a special meaning. Notationally, dot generally refers to some expression. 2. Intuitionally yes. If average of $X$ is $E[X]$, then average of $aX$ is $aE[X]$. Mathematically, Think about $E[f(X)]=sum f(x)p_X(x)$ for discrete RVs. If $f(X)=aX$, where $a$ is a constant, then $E[aX]=sum axp_X(x)=asum x p_X(x)$. Situation is similar if $sum$ is replaced by $int$ when the variable is continuous.
$endgroup$
– gunes
5 hours ago
1
$begingroup$
Ah, I didn't realize that summation symbols always implied discrete :) Thanks! That makes a lot more sense now. Thank you
$endgroup$
– snarkshark
5 hours ago
1
1
$begingroup$
Hi! Thanks so much for taking the time to answer. A few questions: 1) Why do you put a dot in E[.] operator? Is this some kind of common notation? 2) To clarify, since E[] is essentially just an averaging equation, is that why you can move the 2 outside of the inner E[]? I don't really have the intuition for it being linear and such yet ^^;;
$endgroup$
– snarkshark
5 hours ago
$begingroup$
Hi! Thanks so much for taking the time to answer. A few questions: 1) Why do you put a dot in E[.] operator? Is this some kind of common notation? 2) To clarify, since E[] is essentially just an averaging equation, is that why you can move the 2 outside of the inner E[]? I don't really have the intuition for it being linear and such yet ^^;;
$endgroup$
– snarkshark
5 hours ago
1
1
$begingroup$
@snarkshark, 1. it doesn't have a special meaning. Notationally, dot generally refers to some expression. 2. Intuitionally yes. If average of $X$ is $E[X]$, then average of $aX$ is $aE[X]$. Mathematically, Think about $E[f(X)]=sum f(x)p_X(x)$ for discrete RVs. If $f(X)=aX$, where $a$ is a constant, then $E[aX]=sum axp_X(x)=asum x p_X(x)$. Situation is similar if $sum$ is replaced by $int$ when the variable is continuous.
$endgroup$
– gunes
5 hours ago
$begingroup$
@snarkshark, 1. it doesn't have a special meaning. Notationally, dot generally refers to some expression. 2. Intuitionally yes. If average of $X$ is $E[X]$, then average of $aX$ is $aE[X]$. Mathematically, Think about $E[f(X)]=sum f(x)p_X(x)$ for discrete RVs. If $f(X)=aX$, where $a$ is a constant, then $E[aX]=sum axp_X(x)=asum x p_X(x)$. Situation is similar if $sum$ is replaced by $int$ when the variable is continuous.
$endgroup$
– gunes
5 hours ago
1
1
$begingroup$
Ah, I didn't realize that summation symbols always implied discrete :) Thanks! That makes a lot more sense now. Thank you
$endgroup$
– snarkshark
5 hours ago
$begingroup$
Ah, I didn't realize that summation symbols always implied discrete :) Thanks! That makes a lot more sense now. Thank you
$endgroup$
– snarkshark
5 hours ago
add a comment |
$begingroup$
The 2X doesn't disappear. When you distribute the E[] operator, it turns into 2E[X]. Thus E[... -2XE[X] + ...] becomes ... - 2E[X]E[X] + ... (because E[E[X]]=E[X]) and then the term simplifies with the other E[X]² term.
$endgroup$
add a comment |
$begingroup$
The 2X doesn't disappear. When you distribute the E[] operator, it turns into 2E[X]. Thus E[... -2XE[X] + ...] becomes ... - 2E[X]E[X] + ... (because E[E[X]]=E[X]) and then the term simplifies with the other E[X]² term.
$endgroup$
add a comment |
$begingroup$
The 2X doesn't disappear. When you distribute the E[] operator, it turns into 2E[X]. Thus E[... -2XE[X] + ...] becomes ... - 2E[X]E[X] + ... (because E[E[X]]=E[X]) and then the term simplifies with the other E[X]² term.
$endgroup$
The 2X doesn't disappear. When you distribute the E[] operator, it turns into 2E[X]. Thus E[... -2XE[X] + ...] becomes ... - 2E[X]E[X] + ... (because E[E[X]]=E[X]) and then the term simplifies with the other E[X]² term.
answered 2 hours ago
Anony-MousseAnony-Mousse
30.7k54180
30.7k54180
add a comment |
add a comment |
snarkshark is a new contributor. Be nice, and check out our Code of Conduct.
snarkshark is a new contributor. Be nice, and check out our Code of Conduct.
snarkshark is a new contributor. Be nice, and check out our Code of Conduct.
snarkshark is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Cross Validated!
- 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%2fstats.stackexchange.com%2fquestions%2f400429%2fderiving-the-equation-for-variance%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

$begingroup$
This is not a stupid question. It's not just simplifying... notice that B has an expectation of the entire expression, while C does not. (And welcome to CV, snarkshark!)
$endgroup$
– Alexis
6 hours ago
1
$begingroup$
Hi, @Alexis :) I noticed that, but I'm still confused. Does E[-2XE[X]] somehow become 1? I dont understand how its eliminated from the equation still :'(
$endgroup$
– snarkshark
6 hours ago
$begingroup$
As an aside, you might read about the self-study tag, and edit your question (the "edit" link at lower left) to inlcude it.
$endgroup$
– Alexis
6 hours ago
$begingroup$
Well simplifying does enter thereafter. What is $E[(-2)]$? What is $E[(X)]$? What is $E[(E[X])]$? And so, what is $E[(-2XE[X])]$?
$endgroup$
– Alexis
5 hours ago
$begingroup$
E[(-2)] = -2 (averaging itself is just itself); E[X] = X; and E[(E[X])] = E[X] = X; so... 𝐸[(−2𝑋𝐸[𝑋])] just ends up being -2X and its removed from the equation because its a constant? Thanks for your patience with my dumb questions ^^;;
$endgroup$
– snarkshark
5 hours ago