Binominal distribution “fewer than”
I have this exercise:
We learned in Exercise 3.26 that about 90% of American adults had chickenpox before adulthood. We now consider a random sample of 120 American adults.
(a) What is the mean and standard deviation.
(c) What is the probability that 105 or fewer people in this sample have had chickenpox in their childhood?
I have used Z score to calculate it, since both $np$ and $n(1-p)$ is above 10, we can use normal distribution. First I calculated mean and SD from exercise (a) for a binominal distribution, then the Z score:
Mean:
$μ=np$
$μ=120*0.90$
$μ=108$
Then the Standard Deviation:
$σ=sqrt{np(1-p)}$
$σ=sqrt{120*0.90(1-0.90)}$
$σ=sqrt{10.8}$
$σ=3.28$
Now I calculate the Z-score:
$Z=(observation-mean)/SD$
$Z= (105-108)/3.28$
$Z=-0.91$
We will look up that number on the Z-table: 0.1814 = 18.14%
Is this correctly done? I tried looking it up on the internet, but I see people getting 21% when they use pbinom(105,120,.9)
from the R language = 0.2181634 = 21%
The same website calculates it this way, without R and still gets 21%
probability statistics binomial-distribution
add a comment |
I have this exercise:
We learned in Exercise 3.26 that about 90% of American adults had chickenpox before adulthood. We now consider a random sample of 120 American adults.
(a) What is the mean and standard deviation.
(c) What is the probability that 105 or fewer people in this sample have had chickenpox in their childhood?
I have used Z score to calculate it, since both $np$ and $n(1-p)$ is above 10, we can use normal distribution. First I calculated mean and SD from exercise (a) for a binominal distribution, then the Z score:
Mean:
$μ=np$
$μ=120*0.90$
$μ=108$
Then the Standard Deviation:
$σ=sqrt{np(1-p)}$
$σ=sqrt{120*0.90(1-0.90)}$
$σ=sqrt{10.8}$
$σ=3.28$
Now I calculate the Z-score:
$Z=(observation-mean)/SD$
$Z= (105-108)/3.28$
$Z=-0.91$
We will look up that number on the Z-table: 0.1814 = 18.14%
Is this correctly done? I tried looking it up on the internet, but I see people getting 21% when they use pbinom(105,120,.9)
from the R language = 0.2181634 = 21%
The same website calculates it this way, without R and still gets 21%
probability statistics binomial-distribution
The image at the end doesn't match what you are trying to say (how to arrive at $21%$ without using R).
– Lee David Chung Lin
Dec 1 at 13:40
Here are the calculations by using the binomial distribution and the approximation by using the normal distribution (with continuity correction factor): Bin, Norm. The upper bound at the normal distribution is $frac{105+0.5-108}{sqrt{0.1cdot 0.9cdot 120}}$. Using the continuity correction factor is the right way like in the answer of rzch.
– callculus
Dec 1 at 14:34
When you round $21.81634%$ to the the nearest integer it is $color{red}{22%}$ and not 21%
– callculus
Dec 1 at 14:40
add a comment |
I have this exercise:
We learned in Exercise 3.26 that about 90% of American adults had chickenpox before adulthood. We now consider a random sample of 120 American adults.
(a) What is the mean and standard deviation.
(c) What is the probability that 105 or fewer people in this sample have had chickenpox in their childhood?
I have used Z score to calculate it, since both $np$ and $n(1-p)$ is above 10, we can use normal distribution. First I calculated mean and SD from exercise (a) for a binominal distribution, then the Z score:
Mean:
$μ=np$
$μ=120*0.90$
$μ=108$
Then the Standard Deviation:
$σ=sqrt{np(1-p)}$
$σ=sqrt{120*0.90(1-0.90)}$
$σ=sqrt{10.8}$
$σ=3.28$
Now I calculate the Z-score:
$Z=(observation-mean)/SD$
$Z= (105-108)/3.28$
$Z=-0.91$
We will look up that number on the Z-table: 0.1814 = 18.14%
Is this correctly done? I tried looking it up on the internet, but I see people getting 21% when they use pbinom(105,120,.9)
from the R language = 0.2181634 = 21%
The same website calculates it this way, without R and still gets 21%
probability statistics binomial-distribution
I have this exercise:
We learned in Exercise 3.26 that about 90% of American adults had chickenpox before adulthood. We now consider a random sample of 120 American adults.
(a) What is the mean and standard deviation.
(c) What is the probability that 105 or fewer people in this sample have had chickenpox in their childhood?
I have used Z score to calculate it, since both $np$ and $n(1-p)$ is above 10, we can use normal distribution. First I calculated mean and SD from exercise (a) for a binominal distribution, then the Z score:
Mean:
$μ=np$
$μ=120*0.90$
$μ=108$
Then the Standard Deviation:
$σ=sqrt{np(1-p)}$
$σ=sqrt{120*0.90(1-0.90)}$
$σ=sqrt{10.8}$
$σ=3.28$
Now I calculate the Z-score:
$Z=(observation-mean)/SD$
$Z= (105-108)/3.28$
$Z=-0.91$
We will look up that number on the Z-table: 0.1814 = 18.14%
Is this correctly done? I tried looking it up on the internet, but I see people getting 21% when they use pbinom(105,120,.9)
from the R language = 0.2181634 = 21%
The same website calculates it this way, without R and still gets 21%
probability statistics binomial-distribution
probability statistics binomial-distribution
asked Dec 1 at 11:50
StudentCoderJava
728
728
The image at the end doesn't match what you are trying to say (how to arrive at $21%$ without using R).
– Lee David Chung Lin
Dec 1 at 13:40
Here are the calculations by using the binomial distribution and the approximation by using the normal distribution (with continuity correction factor): Bin, Norm. The upper bound at the normal distribution is $frac{105+0.5-108}{sqrt{0.1cdot 0.9cdot 120}}$. Using the continuity correction factor is the right way like in the answer of rzch.
– callculus
Dec 1 at 14:34
When you round $21.81634%$ to the the nearest integer it is $color{red}{22%}$ and not 21%
– callculus
Dec 1 at 14:40
add a comment |
The image at the end doesn't match what you are trying to say (how to arrive at $21%$ without using R).
– Lee David Chung Lin
Dec 1 at 13:40
Here are the calculations by using the binomial distribution and the approximation by using the normal distribution (with continuity correction factor): Bin, Norm. The upper bound at the normal distribution is $frac{105+0.5-108}{sqrt{0.1cdot 0.9cdot 120}}$. Using the continuity correction factor is the right way like in the answer of rzch.
– callculus
Dec 1 at 14:34
When you round $21.81634%$ to the the nearest integer it is $color{red}{22%}$ and not 21%
– callculus
Dec 1 at 14:40
The image at the end doesn't match what you are trying to say (how to arrive at $21%$ without using R).
– Lee David Chung Lin
Dec 1 at 13:40
The image at the end doesn't match what you are trying to say (how to arrive at $21%$ without using R).
– Lee David Chung Lin
Dec 1 at 13:40
Here are the calculations by using the binomial distribution and the approximation by using the normal distribution (with continuity correction factor): Bin, Norm. The upper bound at the normal distribution is $frac{105+0.5-108}{sqrt{0.1cdot 0.9cdot 120}}$. Using the continuity correction factor is the right way like in the answer of rzch.
– callculus
Dec 1 at 14:34
Here are the calculations by using the binomial distribution and the approximation by using the normal distribution (with continuity correction factor): Bin, Norm. The upper bound at the normal distribution is $frac{105+0.5-108}{sqrt{0.1cdot 0.9cdot 120}}$. Using the continuity correction factor is the right way like in the answer of rzch.
– callculus
Dec 1 at 14:34
When you round $21.81634%$ to the the nearest integer it is $color{red}{22%}$ and not 21%
– callculus
Dec 1 at 14:40
When you round $21.81634%$ to the the nearest integer it is $color{red}{22%}$ and not 21%
– callculus
Dec 1 at 14:40
add a comment |
1 Answer
1
active
oldest
votes
I think you've done the steps correctly, the discrepancy between the binomial and normal approximation seems believable in this case (if your $p$ is quite far from $0.5$ and your $n$ is not enormously large, then your answer can usually be a few percentage points off).
To get a more accurate answer using the normal approximation, some people advocate using a continuity correction. This means calculating the $z$-score as $left(105.5 - 108right)/3.28$ instead of $left(105 - 108right)/3.28$. Using this continuity correction gives an answer of $22.3%$ which is a bit closer to the true probability compared to your answer.
Ultimately there are a few ways to go about solving this problem, some by using approximations which lead to slightly different answers. The steps you've taken appear sound, assuming your course has taught you to solve it that way.
Thank you very much :)
– StudentCoderJava
Dec 1 at 16:41
add a comment |
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%2f3021255%2fbinominal-distribution-fewer-than%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I think you've done the steps correctly, the discrepancy between the binomial and normal approximation seems believable in this case (if your $p$ is quite far from $0.5$ and your $n$ is not enormously large, then your answer can usually be a few percentage points off).
To get a more accurate answer using the normal approximation, some people advocate using a continuity correction. This means calculating the $z$-score as $left(105.5 - 108right)/3.28$ instead of $left(105 - 108right)/3.28$. Using this continuity correction gives an answer of $22.3%$ which is a bit closer to the true probability compared to your answer.
Ultimately there are a few ways to go about solving this problem, some by using approximations which lead to slightly different answers. The steps you've taken appear sound, assuming your course has taught you to solve it that way.
Thank you very much :)
– StudentCoderJava
Dec 1 at 16:41
add a comment |
I think you've done the steps correctly, the discrepancy between the binomial and normal approximation seems believable in this case (if your $p$ is quite far from $0.5$ and your $n$ is not enormously large, then your answer can usually be a few percentage points off).
To get a more accurate answer using the normal approximation, some people advocate using a continuity correction. This means calculating the $z$-score as $left(105.5 - 108right)/3.28$ instead of $left(105 - 108right)/3.28$. Using this continuity correction gives an answer of $22.3%$ which is a bit closer to the true probability compared to your answer.
Ultimately there are a few ways to go about solving this problem, some by using approximations which lead to slightly different answers. The steps you've taken appear sound, assuming your course has taught you to solve it that way.
Thank you very much :)
– StudentCoderJava
Dec 1 at 16:41
add a comment |
I think you've done the steps correctly, the discrepancy between the binomial and normal approximation seems believable in this case (if your $p$ is quite far from $0.5$ and your $n$ is not enormously large, then your answer can usually be a few percentage points off).
To get a more accurate answer using the normal approximation, some people advocate using a continuity correction. This means calculating the $z$-score as $left(105.5 - 108right)/3.28$ instead of $left(105 - 108right)/3.28$. Using this continuity correction gives an answer of $22.3%$ which is a bit closer to the true probability compared to your answer.
Ultimately there are a few ways to go about solving this problem, some by using approximations which lead to slightly different answers. The steps you've taken appear sound, assuming your course has taught you to solve it that way.
I think you've done the steps correctly, the discrepancy between the binomial and normal approximation seems believable in this case (if your $p$ is quite far from $0.5$ and your $n$ is not enormously large, then your answer can usually be a few percentage points off).
To get a more accurate answer using the normal approximation, some people advocate using a continuity correction. This means calculating the $z$-score as $left(105.5 - 108right)/3.28$ instead of $left(105 - 108right)/3.28$. Using this continuity correction gives an answer of $22.3%$ which is a bit closer to the true probability compared to your answer.
Ultimately there are a few ways to go about solving this problem, some by using approximations which lead to slightly different answers. The steps you've taken appear sound, assuming your course has taught you to solve it that way.
answered Dec 1 at 14:12
rzch
1363
1363
Thank you very much :)
– StudentCoderJava
Dec 1 at 16:41
add a comment |
Thank you very much :)
– StudentCoderJava
Dec 1 at 16:41
Thank you very much :)
– StudentCoderJava
Dec 1 at 16:41
Thank you very much :)
– StudentCoderJava
Dec 1 at 16:41
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
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%2f3021255%2fbinominal-distribution-fewer-than%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
The image at the end doesn't match what you are trying to say (how to arrive at $21%$ without using R).
– Lee David Chung Lin
Dec 1 at 13:40
Here are the calculations by using the binomial distribution and the approximation by using the normal distribution (with continuity correction factor): Bin, Norm. The upper bound at the normal distribution is $frac{105+0.5-108}{sqrt{0.1cdot 0.9cdot 120}}$. Using the continuity correction factor is the right way like in the answer of rzch.
– callculus
Dec 1 at 14:34
When you round $21.81634%$ to the the nearest integer it is $color{red}{22%}$ and not 21%
– callculus
Dec 1 at 14:40