Calculate variance the right way with two random variables
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
$begingroup$
I'm currently assigning a introductory stats class, and I just can't seem to find out when to use the different variance identities. I have provided an example of an assignment where I got it wrong, but I just can't figure out why its wrong.
Assignment:
Given two random variables: X ~ N(20,5^2) and Y ~ N(50,10^2). The random variables X and Y describe the weigh of rocks loaded from two different piles, to a truck. (X , Y is i.d.d).
Okay, the assignment says, given that you load 10 rocks from each pile (X, Y), what is the probability that the weigh exceeds 800kg?
New random variable: Z = 10*X + 10*Y.
Calculate the estimate mean: E(Z) = E(10X) + E(10Y) = 10*20 + 50*10 = 700.
Now, heres where I get it wrong:
Calculate the variance: Var(Z)= Var(10*X+10*Y) = 10^2*Var(X) + 10^2*Var(Y) = 12500
Then Z ~ N(700,12500).
My teacher provided a result, and the result is to sum up the variances, heck the result is:
Var(Z) = sum(1..10, Var(X)) + sum(1..10, Var(Y)) = 10*Var(X) + 10*Var(Y) = 1250.
I just can't seem to figure when to sum up the variances, and when to use the variance identity as my teacher call it (square the constant in front of the variance).
probability variance
$endgroup$
add a comment |
$begingroup$
I'm currently assigning a introductory stats class, and I just can't seem to find out when to use the different variance identities. I have provided an example of an assignment where I got it wrong, but I just can't figure out why its wrong.
Assignment:
Given two random variables: X ~ N(20,5^2) and Y ~ N(50,10^2). The random variables X and Y describe the weigh of rocks loaded from two different piles, to a truck. (X , Y is i.d.d).
Okay, the assignment says, given that you load 10 rocks from each pile (X, Y), what is the probability that the weigh exceeds 800kg?
New random variable: Z = 10*X + 10*Y.
Calculate the estimate mean: E(Z) = E(10X) + E(10Y) = 10*20 + 50*10 = 700.
Now, heres where I get it wrong:
Calculate the variance: Var(Z)= Var(10*X+10*Y) = 10^2*Var(X) + 10^2*Var(Y) = 12500
Then Z ~ N(700,12500).
My teacher provided a result, and the result is to sum up the variances, heck the result is:
Var(Z) = sum(1..10, Var(X)) + sum(1..10, Var(Y)) = 10*Var(X) + 10*Var(Y) = 1250.
I just can't seem to figure when to sum up the variances, and when to use the variance identity as my teacher call it (square the constant in front of the variance).
probability variance
$endgroup$
$begingroup$
The hyphen is used to indicate subtraction. If you're indicating the distribution of a variable, you should use the tilda ~
$endgroup$
– Acccumulation
May 20 at 14:54
add a comment |
$begingroup$
I'm currently assigning a introductory stats class, and I just can't seem to find out when to use the different variance identities. I have provided an example of an assignment where I got it wrong, but I just can't figure out why its wrong.
Assignment:
Given two random variables: X ~ N(20,5^2) and Y ~ N(50,10^2). The random variables X and Y describe the weigh of rocks loaded from two different piles, to a truck. (X , Y is i.d.d).
Okay, the assignment says, given that you load 10 rocks from each pile (X, Y), what is the probability that the weigh exceeds 800kg?
New random variable: Z = 10*X + 10*Y.
Calculate the estimate mean: E(Z) = E(10X) + E(10Y) = 10*20 + 50*10 = 700.
Now, heres where I get it wrong:
Calculate the variance: Var(Z)= Var(10*X+10*Y) = 10^2*Var(X) + 10^2*Var(Y) = 12500
Then Z ~ N(700,12500).
My teacher provided a result, and the result is to sum up the variances, heck the result is:
Var(Z) = sum(1..10, Var(X)) + sum(1..10, Var(Y)) = 10*Var(X) + 10*Var(Y) = 1250.
I just can't seem to figure when to sum up the variances, and when to use the variance identity as my teacher call it (square the constant in front of the variance).
probability variance
$endgroup$
I'm currently assigning a introductory stats class, and I just can't seem to find out when to use the different variance identities. I have provided an example of an assignment where I got it wrong, but I just can't figure out why its wrong.
Assignment:
Given two random variables: X ~ N(20,5^2) and Y ~ N(50,10^2). The random variables X and Y describe the weigh of rocks loaded from two different piles, to a truck. (X , Y is i.d.d).
Okay, the assignment says, given that you load 10 rocks from each pile (X, Y), what is the probability that the weigh exceeds 800kg?
New random variable: Z = 10*X + 10*Y.
Calculate the estimate mean: E(Z) = E(10X) + E(10Y) = 10*20 + 50*10 = 700.
Now, heres where I get it wrong:
Calculate the variance: Var(Z)= Var(10*X+10*Y) = 10^2*Var(X) + 10^2*Var(Y) = 12500
Then Z ~ N(700,12500).
My teacher provided a result, and the result is to sum up the variances, heck the result is:
Var(Z) = sum(1..10, Var(X)) + sum(1..10, Var(Y)) = 10*Var(X) + 10*Var(Y) = 1250.
I just can't seem to figure when to sum up the variances, and when to use the variance identity as my teacher call it (square the constant in front of the variance).
probability variance
probability variance
edited May 20 at 19:45
whuber♦
214k34 gold badges469 silver badges858 bronze badges
214k34 gold badges469 silver badges858 bronze badges
asked May 20 at 12:36
Oliver BakOliver Bak
82 bronze badges
82 bronze badges
$begingroup$
The hyphen is used to indicate subtraction. If you're indicating the distribution of a variable, you should use the tilda ~
$endgroup$
– Acccumulation
May 20 at 14:54
add a comment |
$begingroup$
The hyphen is used to indicate subtraction. If you're indicating the distribution of a variable, you should use the tilda ~
$endgroup$
– Acccumulation
May 20 at 14:54
$begingroup$
The hyphen is used to indicate subtraction. If you're indicating the distribution of a variable, you should use the tilda ~
$endgroup$
– Acccumulation
May 20 at 14:54
$begingroup$
The hyphen is used to indicate subtraction. If you're indicating the distribution of a variable, you should use the tilda ~
$endgroup$
– Acccumulation
May 20 at 14:54
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
I don't know if this is a lack of rigor in your teacher's wording, or you copied the problem incorrectly, but if it is indeed true that "The random variables X and Y describe the weigh[t] of rocks loaded from two different piles", then your calculation is correct. However, to say "The random variables X and Y describe the weigh[t] of rocks loaded from two different piles" is to say that each pile has a particular weight that is distributed according to the respective distribution; that is, for each pile, one number is chosen according to the distribution, and each rock in that pile is then equal to that one number.
There is an important difference between "A, B = X ~ N" and "A, B ~ N". The first says that A and B are both equal to the same number drawn from a normal distribution, while the second says that A and B are different numbers both drawn from the same normal distribution. From context, it is reasonable to consider the rocks to be the second case rather than the first, in which case the variance should be multiplied by 10. Even when two random variables have the exact same distribution, they need to be treated as different variables, so in cases like this we calculate the variance correctly.
You further say "(X , Y [are] i.d.d)". But you gave different distributions for X and Y, so X and Y are not identical to each other. Presumably, this means that there is a collection of $X_i$ that are i.d.d. So a more rigorous way of saying this is:
Given two sets of random variables: $X_i$ ~ $N(20,5^2)$ and $Y_i$ ~ $N(50,10^2)$ that describe the weight of rocks loaded from two different piles to a truck, where $X_i$ and $Y_i$ are i.d.d., if you load 10 rocks from each pile (X, Y), what is the probability that the weight exceeds 800kg?
So here, you have ten copies of $N(20,5^2)$, not one $N(20,5^2)$ that has been multiplied by 10. If you had two rocks, you would have $N(20,5^2)+N(20,5^2)$, and that is not equal to $N(20+20,5^2+5^2)$. Similarly, ten copies of $N(20,5^2)$ is not the same as $N(20*10,5^2*10)$.
So, to answer your question: if things are phrased rigorously, then you can use the rule $var(10X)= 100 var(X)$. If things are not phrased rigorously, you have to think about whether $10X$ refers to one instance of a random variable that has been multiplied by $10$ (in which case you can use the rule $var(10X)= 100 var(X)$), or whether it refers to ten different instances of random variables, each drawn separately (in which case $var(10X)=10var(X)$). In this case, the fact that the variables were stated as being i.d.d. makes it clear that they are separate instances; $X$ and $Y$ can't be i.d.d. with respect to each other, and it makes no sense to say that a single instance of a variable is i.d.d., so they must be multiple instances from the same distribution.
You should look carefully at how the problem was phrased, and possibly have a discussion with your instructor about this distinction. Either your instructor didn't phrase this rigorously, or they didn't discuss this distinction, or they did discuss it but it didn't stick with you. Either way, they should get feedback about your confusion.
$endgroup$
$begingroup$
That was very helpful, thanks a lot! I think the problem occurs due to, that we spent next to zero time about this distinction, as well as they never taught us to read statistic notation nor how/when to use different identities for the mean, variance etc. The course is mainly focusing on hypothesis testing, anova, linear regression - like how to use statistics.
$endgroup$
– Oliver Bak
May 22 at 18:24
add a comment |
$begingroup$
There is a difference, between a sum of random variables, and multiplying a constant to a random variable.
In this case, each rock's weight is a random variable so the problem is a sum of random variables. In this case, is:
Let $X_1 ... X_{10}, Y_1 ... Y_{10}$ be random variables. The random variable you are looking for is Z = $Sigma^{10}_{i = 1} X_i + Sigma^{10}_{i = 1} Y_i$. Which variance is the same as your teacher's approach since they are independent.
$endgroup$
add a comment |
$begingroup$
In addition to what @Kane_Chua says, i.e. $10Xneq sum_{i=1}^{10} X_i$; your result has an intuitive explanation. If you choose a rock randomly and multiply it with $10$, the variance you get will be larger than choosing $10$ different rocks and summing them. In the former, your calculation depends on one rock; where in the latter, it depends on $10$ rocks, which is the key factor that reduces your variance ten times.
$endgroup$
add a comment |
Your Answer
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
});
}
});
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%2f409191%2fcalculate-variance-the-right-way-with-two-random-variables%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
I don't know if this is a lack of rigor in your teacher's wording, or you copied the problem incorrectly, but if it is indeed true that "The random variables X and Y describe the weigh[t] of rocks loaded from two different piles", then your calculation is correct. However, to say "The random variables X and Y describe the weigh[t] of rocks loaded from two different piles" is to say that each pile has a particular weight that is distributed according to the respective distribution; that is, for each pile, one number is chosen according to the distribution, and each rock in that pile is then equal to that one number.
There is an important difference between "A, B = X ~ N" and "A, B ~ N". The first says that A and B are both equal to the same number drawn from a normal distribution, while the second says that A and B are different numbers both drawn from the same normal distribution. From context, it is reasonable to consider the rocks to be the second case rather than the first, in which case the variance should be multiplied by 10. Even when two random variables have the exact same distribution, they need to be treated as different variables, so in cases like this we calculate the variance correctly.
You further say "(X , Y [are] i.d.d)". But you gave different distributions for X and Y, so X and Y are not identical to each other. Presumably, this means that there is a collection of $X_i$ that are i.d.d. So a more rigorous way of saying this is:
Given two sets of random variables: $X_i$ ~ $N(20,5^2)$ and $Y_i$ ~ $N(50,10^2)$ that describe the weight of rocks loaded from two different piles to a truck, where $X_i$ and $Y_i$ are i.d.d., if you load 10 rocks from each pile (X, Y), what is the probability that the weight exceeds 800kg?
So here, you have ten copies of $N(20,5^2)$, not one $N(20,5^2)$ that has been multiplied by 10. If you had two rocks, you would have $N(20,5^2)+N(20,5^2)$, and that is not equal to $N(20+20,5^2+5^2)$. Similarly, ten copies of $N(20,5^2)$ is not the same as $N(20*10,5^2*10)$.
So, to answer your question: if things are phrased rigorously, then you can use the rule $var(10X)= 100 var(X)$. If things are not phrased rigorously, you have to think about whether $10X$ refers to one instance of a random variable that has been multiplied by $10$ (in which case you can use the rule $var(10X)= 100 var(X)$), or whether it refers to ten different instances of random variables, each drawn separately (in which case $var(10X)=10var(X)$). In this case, the fact that the variables were stated as being i.d.d. makes it clear that they are separate instances; $X$ and $Y$ can't be i.d.d. with respect to each other, and it makes no sense to say that a single instance of a variable is i.d.d., so they must be multiple instances from the same distribution.
You should look carefully at how the problem was phrased, and possibly have a discussion with your instructor about this distinction. Either your instructor didn't phrase this rigorously, or they didn't discuss this distinction, or they did discuss it but it didn't stick with you. Either way, they should get feedback about your confusion.
$endgroup$
$begingroup$
That was very helpful, thanks a lot! I think the problem occurs due to, that we spent next to zero time about this distinction, as well as they never taught us to read statistic notation nor how/when to use different identities for the mean, variance etc. The course is mainly focusing on hypothesis testing, anova, linear regression - like how to use statistics.
$endgroup$
– Oliver Bak
May 22 at 18:24
add a comment |
$begingroup$
I don't know if this is a lack of rigor in your teacher's wording, or you copied the problem incorrectly, but if it is indeed true that "The random variables X and Y describe the weigh[t] of rocks loaded from two different piles", then your calculation is correct. However, to say "The random variables X and Y describe the weigh[t] of rocks loaded from two different piles" is to say that each pile has a particular weight that is distributed according to the respective distribution; that is, for each pile, one number is chosen according to the distribution, and each rock in that pile is then equal to that one number.
There is an important difference between "A, B = X ~ N" and "A, B ~ N". The first says that A and B are both equal to the same number drawn from a normal distribution, while the second says that A and B are different numbers both drawn from the same normal distribution. From context, it is reasonable to consider the rocks to be the second case rather than the first, in which case the variance should be multiplied by 10. Even when two random variables have the exact same distribution, they need to be treated as different variables, so in cases like this we calculate the variance correctly.
You further say "(X , Y [are] i.d.d)". But you gave different distributions for X and Y, so X and Y are not identical to each other. Presumably, this means that there is a collection of $X_i$ that are i.d.d. So a more rigorous way of saying this is:
Given two sets of random variables: $X_i$ ~ $N(20,5^2)$ and $Y_i$ ~ $N(50,10^2)$ that describe the weight of rocks loaded from two different piles to a truck, where $X_i$ and $Y_i$ are i.d.d., if you load 10 rocks from each pile (X, Y), what is the probability that the weight exceeds 800kg?
So here, you have ten copies of $N(20,5^2)$, not one $N(20,5^2)$ that has been multiplied by 10. If you had two rocks, you would have $N(20,5^2)+N(20,5^2)$, and that is not equal to $N(20+20,5^2+5^2)$. Similarly, ten copies of $N(20,5^2)$ is not the same as $N(20*10,5^2*10)$.
So, to answer your question: if things are phrased rigorously, then you can use the rule $var(10X)= 100 var(X)$. If things are not phrased rigorously, you have to think about whether $10X$ refers to one instance of a random variable that has been multiplied by $10$ (in which case you can use the rule $var(10X)= 100 var(X)$), or whether it refers to ten different instances of random variables, each drawn separately (in which case $var(10X)=10var(X)$). In this case, the fact that the variables were stated as being i.d.d. makes it clear that they are separate instances; $X$ and $Y$ can't be i.d.d. with respect to each other, and it makes no sense to say that a single instance of a variable is i.d.d., so they must be multiple instances from the same distribution.
You should look carefully at how the problem was phrased, and possibly have a discussion with your instructor about this distinction. Either your instructor didn't phrase this rigorously, or they didn't discuss this distinction, or they did discuss it but it didn't stick with you. Either way, they should get feedback about your confusion.
$endgroup$
$begingroup$
That was very helpful, thanks a lot! I think the problem occurs due to, that we spent next to zero time about this distinction, as well as they never taught us to read statistic notation nor how/when to use different identities for the mean, variance etc. The course is mainly focusing on hypothesis testing, anova, linear regression - like how to use statistics.
$endgroup$
– Oliver Bak
May 22 at 18:24
add a comment |
$begingroup$
I don't know if this is a lack of rigor in your teacher's wording, or you copied the problem incorrectly, but if it is indeed true that "The random variables X and Y describe the weigh[t] of rocks loaded from two different piles", then your calculation is correct. However, to say "The random variables X and Y describe the weigh[t] of rocks loaded from two different piles" is to say that each pile has a particular weight that is distributed according to the respective distribution; that is, for each pile, one number is chosen according to the distribution, and each rock in that pile is then equal to that one number.
There is an important difference between "A, B = X ~ N" and "A, B ~ N". The first says that A and B are both equal to the same number drawn from a normal distribution, while the second says that A and B are different numbers both drawn from the same normal distribution. From context, it is reasonable to consider the rocks to be the second case rather than the first, in which case the variance should be multiplied by 10. Even when two random variables have the exact same distribution, they need to be treated as different variables, so in cases like this we calculate the variance correctly.
You further say "(X , Y [are] i.d.d)". But you gave different distributions for X and Y, so X and Y are not identical to each other. Presumably, this means that there is a collection of $X_i$ that are i.d.d. So a more rigorous way of saying this is:
Given two sets of random variables: $X_i$ ~ $N(20,5^2)$ and $Y_i$ ~ $N(50,10^2)$ that describe the weight of rocks loaded from two different piles to a truck, where $X_i$ and $Y_i$ are i.d.d., if you load 10 rocks from each pile (X, Y), what is the probability that the weight exceeds 800kg?
So here, you have ten copies of $N(20,5^2)$, not one $N(20,5^2)$ that has been multiplied by 10. If you had two rocks, you would have $N(20,5^2)+N(20,5^2)$, and that is not equal to $N(20+20,5^2+5^2)$. Similarly, ten copies of $N(20,5^2)$ is not the same as $N(20*10,5^2*10)$.
So, to answer your question: if things are phrased rigorously, then you can use the rule $var(10X)= 100 var(X)$. If things are not phrased rigorously, you have to think about whether $10X$ refers to one instance of a random variable that has been multiplied by $10$ (in which case you can use the rule $var(10X)= 100 var(X)$), or whether it refers to ten different instances of random variables, each drawn separately (in which case $var(10X)=10var(X)$). In this case, the fact that the variables were stated as being i.d.d. makes it clear that they are separate instances; $X$ and $Y$ can't be i.d.d. with respect to each other, and it makes no sense to say that a single instance of a variable is i.d.d., so they must be multiple instances from the same distribution.
You should look carefully at how the problem was phrased, and possibly have a discussion with your instructor about this distinction. Either your instructor didn't phrase this rigorously, or they didn't discuss this distinction, or they did discuss it but it didn't stick with you. Either way, they should get feedback about your confusion.
$endgroup$
I don't know if this is a lack of rigor in your teacher's wording, or you copied the problem incorrectly, but if it is indeed true that "The random variables X and Y describe the weigh[t] of rocks loaded from two different piles", then your calculation is correct. However, to say "The random variables X and Y describe the weigh[t] of rocks loaded from two different piles" is to say that each pile has a particular weight that is distributed according to the respective distribution; that is, for each pile, one number is chosen according to the distribution, and each rock in that pile is then equal to that one number.
There is an important difference between "A, B = X ~ N" and "A, B ~ N". The first says that A and B are both equal to the same number drawn from a normal distribution, while the second says that A and B are different numbers both drawn from the same normal distribution. From context, it is reasonable to consider the rocks to be the second case rather than the first, in which case the variance should be multiplied by 10. Even when two random variables have the exact same distribution, they need to be treated as different variables, so in cases like this we calculate the variance correctly.
You further say "(X , Y [are] i.d.d)". But you gave different distributions for X and Y, so X and Y are not identical to each other. Presumably, this means that there is a collection of $X_i$ that are i.d.d. So a more rigorous way of saying this is:
Given two sets of random variables: $X_i$ ~ $N(20,5^2)$ and $Y_i$ ~ $N(50,10^2)$ that describe the weight of rocks loaded from two different piles to a truck, where $X_i$ and $Y_i$ are i.d.d., if you load 10 rocks from each pile (X, Y), what is the probability that the weight exceeds 800kg?
So here, you have ten copies of $N(20,5^2)$, not one $N(20,5^2)$ that has been multiplied by 10. If you had two rocks, you would have $N(20,5^2)+N(20,5^2)$, and that is not equal to $N(20+20,5^2+5^2)$. Similarly, ten copies of $N(20,5^2)$ is not the same as $N(20*10,5^2*10)$.
So, to answer your question: if things are phrased rigorously, then you can use the rule $var(10X)= 100 var(X)$. If things are not phrased rigorously, you have to think about whether $10X$ refers to one instance of a random variable that has been multiplied by $10$ (in which case you can use the rule $var(10X)= 100 var(X)$), or whether it refers to ten different instances of random variables, each drawn separately (in which case $var(10X)=10var(X)$). In this case, the fact that the variables were stated as being i.d.d. makes it clear that they are separate instances; $X$ and $Y$ can't be i.d.d. with respect to each other, and it makes no sense to say that a single instance of a variable is i.d.d., so they must be multiple instances from the same distribution.
You should look carefully at how the problem was phrased, and possibly have a discussion with your instructor about this distinction. Either your instructor didn't phrase this rigorously, or they didn't discuss this distinction, or they did discuss it but it didn't stick with you. Either way, they should get feedback about your confusion.
answered May 20 at 16:02
AcccumulationAcccumulation
1,8412 silver badges7 bronze badges
1,8412 silver badges7 bronze badges
$begingroup$
That was very helpful, thanks a lot! I think the problem occurs due to, that we spent next to zero time about this distinction, as well as they never taught us to read statistic notation nor how/when to use different identities for the mean, variance etc. The course is mainly focusing on hypothesis testing, anova, linear regression - like how to use statistics.
$endgroup$
– Oliver Bak
May 22 at 18:24
add a comment |
$begingroup$
That was very helpful, thanks a lot! I think the problem occurs due to, that we spent next to zero time about this distinction, as well as they never taught us to read statistic notation nor how/when to use different identities for the mean, variance etc. The course is mainly focusing on hypothesis testing, anova, linear regression - like how to use statistics.
$endgroup$
– Oliver Bak
May 22 at 18:24
$begingroup$
That was very helpful, thanks a lot! I think the problem occurs due to, that we spent next to zero time about this distinction, as well as they never taught us to read statistic notation nor how/when to use different identities for the mean, variance etc. The course is mainly focusing on hypothesis testing, anova, linear regression - like how to use statistics.
$endgroup$
– Oliver Bak
May 22 at 18:24
$begingroup$
That was very helpful, thanks a lot! I think the problem occurs due to, that we spent next to zero time about this distinction, as well as they never taught us to read statistic notation nor how/when to use different identities for the mean, variance etc. The course is mainly focusing on hypothesis testing, anova, linear regression - like how to use statistics.
$endgroup$
– Oliver Bak
May 22 at 18:24
add a comment |
$begingroup$
There is a difference, between a sum of random variables, and multiplying a constant to a random variable.
In this case, each rock's weight is a random variable so the problem is a sum of random variables. In this case, is:
Let $X_1 ... X_{10}, Y_1 ... Y_{10}$ be random variables. The random variable you are looking for is Z = $Sigma^{10}_{i = 1} X_i + Sigma^{10}_{i = 1} Y_i$. Which variance is the same as your teacher's approach since they are independent.
$endgroup$
add a comment |
$begingroup$
There is a difference, between a sum of random variables, and multiplying a constant to a random variable.
In this case, each rock's weight is a random variable so the problem is a sum of random variables. In this case, is:
Let $X_1 ... X_{10}, Y_1 ... Y_{10}$ be random variables. The random variable you are looking for is Z = $Sigma^{10}_{i = 1} X_i + Sigma^{10}_{i = 1} Y_i$. Which variance is the same as your teacher's approach since they are independent.
$endgroup$
add a comment |
$begingroup$
There is a difference, between a sum of random variables, and multiplying a constant to a random variable.
In this case, each rock's weight is a random variable so the problem is a sum of random variables. In this case, is:
Let $X_1 ... X_{10}, Y_1 ... Y_{10}$ be random variables. The random variable you are looking for is Z = $Sigma^{10}_{i = 1} X_i + Sigma^{10}_{i = 1} Y_i$. Which variance is the same as your teacher's approach since they are independent.
$endgroup$
There is a difference, between a sum of random variables, and multiplying a constant to a random variable.
In this case, each rock's weight is a random variable so the problem is a sum of random variables. In this case, is:
Let $X_1 ... X_{10}, Y_1 ... Y_{10}$ be random variables. The random variable you are looking for is Z = $Sigma^{10}_{i = 1} X_i + Sigma^{10}_{i = 1} Y_i$. Which variance is the same as your teacher's approach since they are independent.
answered May 20 at 12:52
Kane ChuaKane Chua
753 bronze badges
753 bronze badges
add a comment |
add a comment |
$begingroup$
In addition to what @Kane_Chua says, i.e. $10Xneq sum_{i=1}^{10} X_i$; your result has an intuitive explanation. If you choose a rock randomly and multiply it with $10$, the variance you get will be larger than choosing $10$ different rocks and summing them. In the former, your calculation depends on one rock; where in the latter, it depends on $10$ rocks, which is the key factor that reduces your variance ten times.
$endgroup$
add a comment |
$begingroup$
In addition to what @Kane_Chua says, i.e. $10Xneq sum_{i=1}^{10} X_i$; your result has an intuitive explanation. If you choose a rock randomly and multiply it with $10$, the variance you get will be larger than choosing $10$ different rocks and summing them. In the former, your calculation depends on one rock; where in the latter, it depends on $10$ rocks, which is the key factor that reduces your variance ten times.
$endgroup$
add a comment |
$begingroup$
In addition to what @Kane_Chua says, i.e. $10Xneq sum_{i=1}^{10} X_i$; your result has an intuitive explanation. If you choose a rock randomly and multiply it with $10$, the variance you get will be larger than choosing $10$ different rocks and summing them. In the former, your calculation depends on one rock; where in the latter, it depends on $10$ rocks, which is the key factor that reduces your variance ten times.
$endgroup$
In addition to what @Kane_Chua says, i.e. $10Xneq sum_{i=1}^{10} X_i$; your result has an intuitive explanation. If you choose a rock randomly and multiply it with $10$, the variance you get will be larger than choosing $10$ different rocks and summing them. In the former, your calculation depends on one rock; where in the latter, it depends on $10$ rocks, which is the key factor that reduces your variance ten times.
answered May 20 at 13:23
gunesgunes
12.2k1 gold badge5 silver badges22 bronze badges
12.2k1 gold badge5 silver badges22 bronze badges
add a comment |
add a comment |
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%2f409191%2fcalculate-variance-the-right-way-with-two-random-variables%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$
The hyphen is used to indicate subtraction. If you're indicating the distribution of a variable, you should use the tilda ~
$endgroup$
– Acccumulation
May 20 at 14:54