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
Why the last AS PATH item always is `I` or `?`?
From jafe to El-Guest
Decide between Polyglossia and Babel for LuaLaTeX in 2019
Is there a way to save my career from absolute disaster?
Why is information "lost" when it got into a black hole?
What does "shotgun unity" refer to here in this sentence?
How to Implement Deterministic Encryption Safely in .NET
Can someone explain this formula for calculating Manhattan distance?
How to find image of a complex function with given constraints?
Can you teleport closer to a creature you are Frightened of?
Lucky Feat: How can "more than one creature spend a luck point to influence the outcome of a roll"?
Audio Conversion With ADS1243
If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?
What is the difference between Statistical Mechanics and Quantum Mechanics
Help/tips for a first time writer?
Prepend last line of stdin to entire stdin
IC has pull-down resistors on SMBus lines?
Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?
Traduction de « Life is a roller coaster »
New carbon wheel brake pads after use on aluminum wheel?
How to use ReplaceAll on an expression that contains a rule
Regression vs Random Forest - Combination of features
Getting Stale Gas Out of a Gas Tank w/out Dropping the Tank
Towers in the ocean; How deep can they be built?
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