convergence of two sample means as a function of sample size and confidence level
$begingroup$
I tried to derive an equation for one sample mean to converge to another sample mean within a 95% confidence interval, but I know I am wrong. Can someone tell me what I did wrong, and what is the correct formula?
Suppose:
$hat{x_1},hat{sigma_1},N$ are a sample mean, standard deviation calculated with $N$ samples,
$hat{x_2},hat{sigma_2},n$ are a sample mean, standard deviation calculated with $n$ samples $nleq N$
$mu$,$delta$ are the true mean, true standard deviation for the population.
If $d(hat{x_1},hat{x_2})$ is a euclidean distance function on the sample means, then:
$$
d(hat{x_1},hat{x_2})leq d(hat{x_1},mu)+ d(hat{x_2},mu)leq 4frac{sigma_1}{sqrt{N}}+4frac{sigma_2}{sqrt{n}}
$$
With $95$% confidence because : $muin [hat{x_1}-frac{2sigma_1}{sqrt{N}},hat{x_1}+frac{2sigma_1}{sqrt{N}}]$ with 95% confidence
My first question is, What is the relationship between sample standard deviation and population standard deviation?
When I take many samples, the standard deviation of the samples changes very little, so I assume the relationship $sigma_1=sigma_2=delta$ :
$$
d(hat{x_1},hat{x_2})leq 4(frac{sigma_1}{sqrt{N}}+frac{sigma_2}{sqrt{n}})=4deltafrac{(sqrt{N}+sqrt{n})}{sqrt{N}sqrt{n}}=4deltafrac{frac{sqrt{N}}{sqrt{n}}+1}{sqrt{N}}=>\
=>sqrt{N}d(hat{x_1},hat{x_2})-4deltaleqfrac{4deltasqrt{N}}{sqrt{n}}=>\=>sqrt{n}leqfrac{4deltasqrt{N}}{sqrt{N}d(hat{x_1},hat{x_2})-4delta}
$$
But this can't be true, because if I choose $d(hat{x_1},hat{x_2})=0$ then $sqrt{n}leq-sqrt{N}$, but $n$ and $N$ must be postive.
What is wrong here?
Also, I am sure there must be a simple way to do this. What I really want to know is how to get $n$ as a function of $d(hat{x_1},hat{x_2})$ and $phi$, where $phi$ is a confidence level, like 95% confidence.
probability convergence confidence-interval
$endgroup$
add a comment |
$begingroup$
I tried to derive an equation for one sample mean to converge to another sample mean within a 95% confidence interval, but I know I am wrong. Can someone tell me what I did wrong, and what is the correct formula?
Suppose:
$hat{x_1},hat{sigma_1},N$ are a sample mean, standard deviation calculated with $N$ samples,
$hat{x_2},hat{sigma_2},n$ are a sample mean, standard deviation calculated with $n$ samples $nleq N$
$mu$,$delta$ are the true mean, true standard deviation for the population.
If $d(hat{x_1},hat{x_2})$ is a euclidean distance function on the sample means, then:
$$
d(hat{x_1},hat{x_2})leq d(hat{x_1},mu)+ d(hat{x_2},mu)leq 4frac{sigma_1}{sqrt{N}}+4frac{sigma_2}{sqrt{n}}
$$
With $95$% confidence because : $muin [hat{x_1}-frac{2sigma_1}{sqrt{N}},hat{x_1}+frac{2sigma_1}{sqrt{N}}]$ with 95% confidence
My first question is, What is the relationship between sample standard deviation and population standard deviation?
When I take many samples, the standard deviation of the samples changes very little, so I assume the relationship $sigma_1=sigma_2=delta$ :
$$
d(hat{x_1},hat{x_2})leq 4(frac{sigma_1}{sqrt{N}}+frac{sigma_2}{sqrt{n}})=4deltafrac{(sqrt{N}+sqrt{n})}{sqrt{N}sqrt{n}}=4deltafrac{frac{sqrt{N}}{sqrt{n}}+1}{sqrt{N}}=>\
=>sqrt{N}d(hat{x_1},hat{x_2})-4deltaleqfrac{4deltasqrt{N}}{sqrt{n}}=>\=>sqrt{n}leqfrac{4deltasqrt{N}}{sqrt{N}d(hat{x_1},hat{x_2})-4delta}
$$
But this can't be true, because if I choose $d(hat{x_1},hat{x_2})=0$ then $sqrt{n}leq-sqrt{N}$, but $n$ and $N$ must be postive.
What is wrong here?
Also, I am sure there must be a simple way to do this. What I really want to know is how to get $n$ as a function of $d(hat{x_1},hat{x_2})$ and $phi$, where $phi$ is a confidence level, like 95% confidence.
probability convergence confidence-interval
$endgroup$
add a comment |
$begingroup$
I tried to derive an equation for one sample mean to converge to another sample mean within a 95% confidence interval, but I know I am wrong. Can someone tell me what I did wrong, and what is the correct formula?
Suppose:
$hat{x_1},hat{sigma_1},N$ are a sample mean, standard deviation calculated with $N$ samples,
$hat{x_2},hat{sigma_2},n$ are a sample mean, standard deviation calculated with $n$ samples $nleq N$
$mu$,$delta$ are the true mean, true standard deviation for the population.
If $d(hat{x_1},hat{x_2})$ is a euclidean distance function on the sample means, then:
$$
d(hat{x_1},hat{x_2})leq d(hat{x_1},mu)+ d(hat{x_2},mu)leq 4frac{sigma_1}{sqrt{N}}+4frac{sigma_2}{sqrt{n}}
$$
With $95$% confidence because : $muin [hat{x_1}-frac{2sigma_1}{sqrt{N}},hat{x_1}+frac{2sigma_1}{sqrt{N}}]$ with 95% confidence
My first question is, What is the relationship between sample standard deviation and population standard deviation?
When I take many samples, the standard deviation of the samples changes very little, so I assume the relationship $sigma_1=sigma_2=delta$ :
$$
d(hat{x_1},hat{x_2})leq 4(frac{sigma_1}{sqrt{N}}+frac{sigma_2}{sqrt{n}})=4deltafrac{(sqrt{N}+sqrt{n})}{sqrt{N}sqrt{n}}=4deltafrac{frac{sqrt{N}}{sqrt{n}}+1}{sqrt{N}}=>\
=>sqrt{N}d(hat{x_1},hat{x_2})-4deltaleqfrac{4deltasqrt{N}}{sqrt{n}}=>\=>sqrt{n}leqfrac{4deltasqrt{N}}{sqrt{N}d(hat{x_1},hat{x_2})-4delta}
$$
But this can't be true, because if I choose $d(hat{x_1},hat{x_2})=0$ then $sqrt{n}leq-sqrt{N}$, but $n$ and $N$ must be postive.
What is wrong here?
Also, I am sure there must be a simple way to do this. What I really want to know is how to get $n$ as a function of $d(hat{x_1},hat{x_2})$ and $phi$, where $phi$ is a confidence level, like 95% confidence.
probability convergence confidence-interval
$endgroup$
I tried to derive an equation for one sample mean to converge to another sample mean within a 95% confidence interval, but I know I am wrong. Can someone tell me what I did wrong, and what is the correct formula?
Suppose:
$hat{x_1},hat{sigma_1},N$ are a sample mean, standard deviation calculated with $N$ samples,
$hat{x_2},hat{sigma_2},n$ are a sample mean, standard deviation calculated with $n$ samples $nleq N$
$mu$,$delta$ are the true mean, true standard deviation for the population.
If $d(hat{x_1},hat{x_2})$ is a euclidean distance function on the sample means, then:
$$
d(hat{x_1},hat{x_2})leq d(hat{x_1},mu)+ d(hat{x_2},mu)leq 4frac{sigma_1}{sqrt{N}}+4frac{sigma_2}{sqrt{n}}
$$
With $95$% confidence because : $muin [hat{x_1}-frac{2sigma_1}{sqrt{N}},hat{x_1}+frac{2sigma_1}{sqrt{N}}]$ with 95% confidence
My first question is, What is the relationship between sample standard deviation and population standard deviation?
When I take many samples, the standard deviation of the samples changes very little, so I assume the relationship $sigma_1=sigma_2=delta$ :
$$
d(hat{x_1},hat{x_2})leq 4(frac{sigma_1}{sqrt{N}}+frac{sigma_2}{sqrt{n}})=4deltafrac{(sqrt{N}+sqrt{n})}{sqrt{N}sqrt{n}}=4deltafrac{frac{sqrt{N}}{sqrt{n}}+1}{sqrt{N}}=>\
=>sqrt{N}d(hat{x_1},hat{x_2})-4deltaleqfrac{4deltasqrt{N}}{sqrt{n}}=>\=>sqrt{n}leqfrac{4deltasqrt{N}}{sqrt{N}d(hat{x_1},hat{x_2})-4delta}
$$
But this can't be true, because if I choose $d(hat{x_1},hat{x_2})=0$ then $sqrt{n}leq-sqrt{N}$, but $n$ and $N$ must be postive.
What is wrong here?
Also, I am sure there must be a simple way to do this. What I really want to know is how to get $n$ as a function of $d(hat{x_1},hat{x_2})$ and $phi$, where $phi$ is a confidence level, like 95% confidence.
probability convergence confidence-interval
probability convergence confidence-interval
edited Jan 3 at 21:06
Frank
asked Jan 3 at 11:36
FrankFrank
16210
16210
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
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: "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%2f3060474%2fconvergence-of-two-sample-means-as-a-function-of-sample-size-and-confidence-leve%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f3060474%2fconvergence-of-two-sample-means-as-a-function-of-sample-size-and-confidence-leve%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