Concluding that a coin is biased depending on number of flipping trials












0












$begingroup$


I am given the task to check if a coin is biased to land on heads. The bias must exceed a certain threshold i.e. $p > 0.5 + epsilon$ for some given $epsilon$. I would like to know how the number of flips affects the certainty of the conclusion that the coin is biased according to this definition.



Concretely, if I am allowed to flip the coin $n$ times, what is the probability of a false positive (coin is not biased but I claim that it is) and a false negative (coin is biased but I fail to spot it) as a function of $n$ and $epsilon$?










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    Please take a look at the Binomial Test.
    $endgroup$
    – denklo
    Jan 28 at 11:26












  • $begingroup$
    The question is wrong. It is no more answerable than "How long is a piece of string?". To make a sensible question, more information is needed. If we know the prior probability that the coin is biased, then we can calculate a posterior probability of it being so from the result of any given number of flips.
    $endgroup$
    – John Bentin
    Jan 28 at 12:18










  • $begingroup$
    @JohnBentin, I took a look at the binomial test. Isn't it correct to have a null hypothesis that the coin is biased such that $p>0.5 +epsilon$ and the alternative hypothesis that it is biased but with $pleq 0.5 +epsilon$? I wish to accept/reject the null hypothesis. Is this a well defined question?
    $endgroup$
    – user1936752
    Jan 28 at 13:43










  • $begingroup$
    The question didn't make clear that the set-up was to test the null hypothesis $p>0.5+epsilon$ versus the opposite. For any $pin[0,Bbb,, 1]$, you can calculate the probability of the outcome being as extreme as, or more extreme than, what is observed given that the probability of a head is $p$. But this looks like a pretty meaningless exercise. Even this useless calculation becomes impossible if we weaken the assumption from fixing P(head) to merely P(head) > $0.5+epsilon$ without specifying a distribution for P(head) in $[0.5+epsilon,Bbb, ,1]$.
    $endgroup$
    – John Bentin
    Jan 28 at 19:23


















0












$begingroup$


I am given the task to check if a coin is biased to land on heads. The bias must exceed a certain threshold i.e. $p > 0.5 + epsilon$ for some given $epsilon$. I would like to know how the number of flips affects the certainty of the conclusion that the coin is biased according to this definition.



Concretely, if I am allowed to flip the coin $n$ times, what is the probability of a false positive (coin is not biased but I claim that it is) and a false negative (coin is biased but I fail to spot it) as a function of $n$ and $epsilon$?










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    Please take a look at the Binomial Test.
    $endgroup$
    – denklo
    Jan 28 at 11:26












  • $begingroup$
    The question is wrong. It is no more answerable than "How long is a piece of string?". To make a sensible question, more information is needed. If we know the prior probability that the coin is biased, then we can calculate a posterior probability of it being so from the result of any given number of flips.
    $endgroup$
    – John Bentin
    Jan 28 at 12:18










  • $begingroup$
    @JohnBentin, I took a look at the binomial test. Isn't it correct to have a null hypothesis that the coin is biased such that $p>0.5 +epsilon$ and the alternative hypothesis that it is biased but with $pleq 0.5 +epsilon$? I wish to accept/reject the null hypothesis. Is this a well defined question?
    $endgroup$
    – user1936752
    Jan 28 at 13:43










  • $begingroup$
    The question didn't make clear that the set-up was to test the null hypothesis $p>0.5+epsilon$ versus the opposite. For any $pin[0,Bbb,, 1]$, you can calculate the probability of the outcome being as extreme as, or more extreme than, what is observed given that the probability of a head is $p$. But this looks like a pretty meaningless exercise. Even this useless calculation becomes impossible if we weaken the assumption from fixing P(head) to merely P(head) > $0.5+epsilon$ without specifying a distribution for P(head) in $[0.5+epsilon,Bbb, ,1]$.
    $endgroup$
    – John Bentin
    Jan 28 at 19:23
















0












0








0





$begingroup$


I am given the task to check if a coin is biased to land on heads. The bias must exceed a certain threshold i.e. $p > 0.5 + epsilon$ for some given $epsilon$. I would like to know how the number of flips affects the certainty of the conclusion that the coin is biased according to this definition.



Concretely, if I am allowed to flip the coin $n$ times, what is the probability of a false positive (coin is not biased but I claim that it is) and a false negative (coin is biased but I fail to spot it) as a function of $n$ and $epsilon$?










share|cite|improve this question









$endgroup$




I am given the task to check if a coin is biased to land on heads. The bias must exceed a certain threshold i.e. $p > 0.5 + epsilon$ for some given $epsilon$. I would like to know how the number of flips affects the certainty of the conclusion that the coin is biased according to this definition.



Concretely, if I am allowed to flip the coin $n$ times, what is the probability of a false positive (coin is not biased but I claim that it is) and a false negative (coin is biased but I fail to spot it) as a function of $n$ and $epsilon$?







probability statistical-inference






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 28 at 11:14









user1936752user1936752

5841515




5841515








  • 1




    $begingroup$
    Please take a look at the Binomial Test.
    $endgroup$
    – denklo
    Jan 28 at 11:26












  • $begingroup$
    The question is wrong. It is no more answerable than "How long is a piece of string?". To make a sensible question, more information is needed. If we know the prior probability that the coin is biased, then we can calculate a posterior probability of it being so from the result of any given number of flips.
    $endgroup$
    – John Bentin
    Jan 28 at 12:18










  • $begingroup$
    @JohnBentin, I took a look at the binomial test. Isn't it correct to have a null hypothesis that the coin is biased such that $p>0.5 +epsilon$ and the alternative hypothesis that it is biased but with $pleq 0.5 +epsilon$? I wish to accept/reject the null hypothesis. Is this a well defined question?
    $endgroup$
    – user1936752
    Jan 28 at 13:43










  • $begingroup$
    The question didn't make clear that the set-up was to test the null hypothesis $p>0.5+epsilon$ versus the opposite. For any $pin[0,Bbb,, 1]$, you can calculate the probability of the outcome being as extreme as, or more extreme than, what is observed given that the probability of a head is $p$. But this looks like a pretty meaningless exercise. Even this useless calculation becomes impossible if we weaken the assumption from fixing P(head) to merely P(head) > $0.5+epsilon$ without specifying a distribution for P(head) in $[0.5+epsilon,Bbb, ,1]$.
    $endgroup$
    – John Bentin
    Jan 28 at 19:23
















  • 1




    $begingroup$
    Please take a look at the Binomial Test.
    $endgroup$
    – denklo
    Jan 28 at 11:26












  • $begingroup$
    The question is wrong. It is no more answerable than "How long is a piece of string?". To make a sensible question, more information is needed. If we know the prior probability that the coin is biased, then we can calculate a posterior probability of it being so from the result of any given number of flips.
    $endgroup$
    – John Bentin
    Jan 28 at 12:18










  • $begingroup$
    @JohnBentin, I took a look at the binomial test. Isn't it correct to have a null hypothesis that the coin is biased such that $p>0.5 +epsilon$ and the alternative hypothesis that it is biased but with $pleq 0.5 +epsilon$? I wish to accept/reject the null hypothesis. Is this a well defined question?
    $endgroup$
    – user1936752
    Jan 28 at 13:43










  • $begingroup$
    The question didn't make clear that the set-up was to test the null hypothesis $p>0.5+epsilon$ versus the opposite. For any $pin[0,Bbb,, 1]$, you can calculate the probability of the outcome being as extreme as, or more extreme than, what is observed given that the probability of a head is $p$. But this looks like a pretty meaningless exercise. Even this useless calculation becomes impossible if we weaken the assumption from fixing P(head) to merely P(head) > $0.5+epsilon$ without specifying a distribution for P(head) in $[0.5+epsilon,Bbb, ,1]$.
    $endgroup$
    – John Bentin
    Jan 28 at 19:23










1




1




$begingroup$
Please take a look at the Binomial Test.
$endgroup$
– denklo
Jan 28 at 11:26






$begingroup$
Please take a look at the Binomial Test.
$endgroup$
– denklo
Jan 28 at 11:26














$begingroup$
The question is wrong. It is no more answerable than "How long is a piece of string?". To make a sensible question, more information is needed. If we know the prior probability that the coin is biased, then we can calculate a posterior probability of it being so from the result of any given number of flips.
$endgroup$
– John Bentin
Jan 28 at 12:18




$begingroup$
The question is wrong. It is no more answerable than "How long is a piece of string?". To make a sensible question, more information is needed. If we know the prior probability that the coin is biased, then we can calculate a posterior probability of it being so from the result of any given number of flips.
$endgroup$
– John Bentin
Jan 28 at 12:18












$begingroup$
@JohnBentin, I took a look at the binomial test. Isn't it correct to have a null hypothesis that the coin is biased such that $p>0.5 +epsilon$ and the alternative hypothesis that it is biased but with $pleq 0.5 +epsilon$? I wish to accept/reject the null hypothesis. Is this a well defined question?
$endgroup$
– user1936752
Jan 28 at 13:43




$begingroup$
@JohnBentin, I took a look at the binomial test. Isn't it correct to have a null hypothesis that the coin is biased such that $p>0.5 +epsilon$ and the alternative hypothesis that it is biased but with $pleq 0.5 +epsilon$? I wish to accept/reject the null hypothesis. Is this a well defined question?
$endgroup$
– user1936752
Jan 28 at 13:43












$begingroup$
The question didn't make clear that the set-up was to test the null hypothesis $p>0.5+epsilon$ versus the opposite. For any $pin[0,Bbb,, 1]$, you can calculate the probability of the outcome being as extreme as, or more extreme than, what is observed given that the probability of a head is $p$. But this looks like a pretty meaningless exercise. Even this useless calculation becomes impossible if we weaken the assumption from fixing P(head) to merely P(head) > $0.5+epsilon$ without specifying a distribution for P(head) in $[0.5+epsilon,Bbb, ,1]$.
$endgroup$
– John Bentin
Jan 28 at 19:23






$begingroup$
The question didn't make clear that the set-up was to test the null hypothesis $p>0.5+epsilon$ versus the opposite. For any $pin[0,Bbb,, 1]$, you can calculate the probability of the outcome being as extreme as, or more extreme than, what is observed given that the probability of a head is $p$. But this looks like a pretty meaningless exercise. Even this useless calculation becomes impossible if we weaken the assumption from fixing P(head) to merely P(head) > $0.5+epsilon$ without specifying a distribution for P(head) in $[0.5+epsilon,Bbb, ,1]$.
$endgroup$
– John Bentin
Jan 28 at 19:23












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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3090727%2fconcluding-that-a-coin-is-biased-depending-on-number-of-flipping-trials%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
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3090727%2fconcluding-that-a-coin-is-biased-depending-on-number-of-flipping-trials%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

Npm cannot find a required file even through it is in the searched directory