Testing whether process that generates coins is biased
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
Let $X_k$ be the number of heads observed when tossing coin $k$ $n_k$ times. Each coin has it's own independent heads probability $p_k$:
$$
X_k sim textBinomial(n_k, p_k)
$$
Each $p_k$ is drawn from some distribution $P$. I am interested in conducting a hypothesis test to test whether $P$ has mean $frac12$. Is there an appropriate testing framework to use?
Does the choice of $P$ matter (a lot?). $P$ will be a reasonably nice distribution (eg continuous, unimodal).
I know this question may not be fully precisely stated - the question is motivated by the design of a biological experiment. Any ideas or references would be appreciated.
Let's take $P$ to be distributed as $G/(G+H)$ where $G$ and $H$ are iid Poisson with parameter $lambda_k$. I'd be interested in the answer with $lambda in [10,100]$. This may be intractable. I'd also be interested in the answer with a more simple $P$, say the hat distribution on $[a,1−a]$. It would be great if there was an (approximate) answer that depends only on the moments of $P$.
The spirit of the question is really to understand the relationship between $n$ and $k$. In order to have a powerful test, should I flip more coins, or should I flip each coin more often?
probability binomial-distribution hypothesis-testing
add a comment |Â
up vote
2
down vote
favorite
Let $X_k$ be the number of heads observed when tossing coin $k$ $n_k$ times. Each coin has it's own independent heads probability $p_k$:
$$
X_k sim textBinomial(n_k, p_k)
$$
Each $p_k$ is drawn from some distribution $P$. I am interested in conducting a hypothesis test to test whether $P$ has mean $frac12$. Is there an appropriate testing framework to use?
Does the choice of $P$ matter (a lot?). $P$ will be a reasonably nice distribution (eg continuous, unimodal).
I know this question may not be fully precisely stated - the question is motivated by the design of a biological experiment. Any ideas or references would be appreciated.
Let's take $P$ to be distributed as $G/(G+H)$ where $G$ and $H$ are iid Poisson with parameter $lambda_k$. I'd be interested in the answer with $lambda in [10,100]$. This may be intractable. I'd also be interested in the answer with a more simple $P$, say the hat distribution on $[a,1−a]$. It would be great if there was an (approximate) answer that depends only on the moments of $P$.
The spirit of the question is really to understand the relationship between $n$ and $k$. In order to have a powerful test, should I flip more coins, or should I flip each coin more often?
probability binomial-distribution hypothesis-testing
1
Yes, the choice of $P$ matters, and to get a precise answer, the question needs to be more precisely stated.
– Math1000
Jul 23 at 22:04
Let's take P to be distributed as $G / (G + H)$ where $G$ and $H$ are iid Poisson with parameter $lambda_k$. I'd be interested in the answer with $lambda in [10, 100]$. This may be intractable. I'd also be interested in the answer with a more simple $P$, say the hat distribution on $[a, 1-a]$. It would be great if there was an (approximate) answer that depends only on the moments of $P$. The spirit of the question is really to understand the relationship between $n$ and $k$. Ie, in order to have a powerful test, should I flip more coins, or should I flip each coin more often.
– user35546
Jul 24 at 2:27
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
Let $X_k$ be the number of heads observed when tossing coin $k$ $n_k$ times. Each coin has it's own independent heads probability $p_k$:
$$
X_k sim textBinomial(n_k, p_k)
$$
Each $p_k$ is drawn from some distribution $P$. I am interested in conducting a hypothesis test to test whether $P$ has mean $frac12$. Is there an appropriate testing framework to use?
Does the choice of $P$ matter (a lot?). $P$ will be a reasonably nice distribution (eg continuous, unimodal).
I know this question may not be fully precisely stated - the question is motivated by the design of a biological experiment. Any ideas or references would be appreciated.
Let's take $P$ to be distributed as $G/(G+H)$ where $G$ and $H$ are iid Poisson with parameter $lambda_k$. I'd be interested in the answer with $lambda in [10,100]$. This may be intractable. I'd also be interested in the answer with a more simple $P$, say the hat distribution on $[a,1−a]$. It would be great if there was an (approximate) answer that depends only on the moments of $P$.
The spirit of the question is really to understand the relationship between $n$ and $k$. In order to have a powerful test, should I flip more coins, or should I flip each coin more often?
probability binomial-distribution hypothesis-testing
Let $X_k$ be the number of heads observed when tossing coin $k$ $n_k$ times. Each coin has it's own independent heads probability $p_k$:
$$
X_k sim textBinomial(n_k, p_k)
$$
Each $p_k$ is drawn from some distribution $P$. I am interested in conducting a hypothesis test to test whether $P$ has mean $frac12$. Is there an appropriate testing framework to use?
Does the choice of $P$ matter (a lot?). $P$ will be a reasonably nice distribution (eg continuous, unimodal).
I know this question may not be fully precisely stated - the question is motivated by the design of a biological experiment. Any ideas or references would be appreciated.
Let's take $P$ to be distributed as $G/(G+H)$ where $G$ and $H$ are iid Poisson with parameter $lambda_k$. I'd be interested in the answer with $lambda in [10,100]$. This may be intractable. I'd also be interested in the answer with a more simple $P$, say the hat distribution on $[a,1−a]$. It would be great if there was an (approximate) answer that depends only on the moments of $P$.
The spirit of the question is really to understand the relationship between $n$ and $k$. In order to have a powerful test, should I flip more coins, or should I flip each coin more often?
probability binomial-distribution hypothesis-testing
edited Jul 24 at 15:24
Strants
5,09921636
5,09921636
asked Jul 23 at 17:50
user35546
31337
31337
1
Yes, the choice of $P$ matters, and to get a precise answer, the question needs to be more precisely stated.
– Math1000
Jul 23 at 22:04
Let's take P to be distributed as $G / (G + H)$ where $G$ and $H$ are iid Poisson with parameter $lambda_k$. I'd be interested in the answer with $lambda in [10, 100]$. This may be intractable. I'd also be interested in the answer with a more simple $P$, say the hat distribution on $[a, 1-a]$. It would be great if there was an (approximate) answer that depends only on the moments of $P$. The spirit of the question is really to understand the relationship between $n$ and $k$. Ie, in order to have a powerful test, should I flip more coins, or should I flip each coin more often.
– user35546
Jul 24 at 2:27
add a comment |Â
1
Yes, the choice of $P$ matters, and to get a precise answer, the question needs to be more precisely stated.
– Math1000
Jul 23 at 22:04
Let's take P to be distributed as $G / (G + H)$ where $G$ and $H$ are iid Poisson with parameter $lambda_k$. I'd be interested in the answer with $lambda in [10, 100]$. This may be intractable. I'd also be interested in the answer with a more simple $P$, say the hat distribution on $[a, 1-a]$. It would be great if there was an (approximate) answer that depends only on the moments of $P$. The spirit of the question is really to understand the relationship between $n$ and $k$. Ie, in order to have a powerful test, should I flip more coins, or should I flip each coin more often.
– user35546
Jul 24 at 2:27
1
1
Yes, the choice of $P$ matters, and to get a precise answer, the question needs to be more precisely stated.
– Math1000
Jul 23 at 22:04
Yes, the choice of $P$ matters, and to get a precise answer, the question needs to be more precisely stated.
– Math1000
Jul 23 at 22:04
Let's take P to be distributed as $G / (G + H)$ where $G$ and $H$ are iid Poisson with parameter $lambda_k$. I'd be interested in the answer with $lambda in [10, 100]$. This may be intractable. I'd also be interested in the answer with a more simple $P$, say the hat distribution on $[a, 1-a]$. It would be great if there was an (approximate) answer that depends only on the moments of $P$. The spirit of the question is really to understand the relationship between $n$ and $k$. Ie, in order to have a powerful test, should I flip more coins, or should I flip each coin more often.
– user35546
Jul 24 at 2:27
Let's take P to be distributed as $G / (G + H)$ where $G$ and $H$ are iid Poisson with parameter $lambda_k$. I'd be interested in the answer with $lambda in [10, 100]$. This may be intractable. I'd also be interested in the answer with a more simple $P$, say the hat distribution on $[a, 1-a]$. It would be great if there was an (approximate) answer that depends only on the moments of $P$. The spirit of the question is really to understand the relationship between $n$ and $k$. Ie, in order to have a powerful test, should I flip more coins, or should I flip each coin more often.
– user35546
Jul 24 at 2:27
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
You could structure this as a Bayesian hierarchical model and analyze
the posterior distribution of $ P $ conditioned on your "populations" which
are the coin toss outcomes under each $ p_k $. This is, of course, just one example.
The precise distribution of $ P $ will definitely depend on your choice
of prior on $ P $, but at the end of the day you can always numerically
approximate the posterior distribution of $ P $.
Yes, thank you for the suggestion. I agree that this is a reasonable approach. At the moment I'm most interested in a frequentist hypothesis test. This is because the design I've discussed is an alternative to another design which is well studied in the frequentist framework - and I'd like to be able to compare them
– user35546
Jul 24 at 2:33
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
You could structure this as a Bayesian hierarchical model and analyze
the posterior distribution of $ P $ conditioned on your "populations" which
are the coin toss outcomes under each $ p_k $. This is, of course, just one example.
The precise distribution of $ P $ will definitely depend on your choice
of prior on $ P $, but at the end of the day you can always numerically
approximate the posterior distribution of $ P $.
Yes, thank you for the suggestion. I agree that this is a reasonable approach. At the moment I'm most interested in a frequentist hypothesis test. This is because the design I've discussed is an alternative to another design which is well studied in the frequentist framework - and I'd like to be able to compare them
– user35546
Jul 24 at 2:33
add a comment |Â
up vote
1
down vote
You could structure this as a Bayesian hierarchical model and analyze
the posterior distribution of $ P $ conditioned on your "populations" which
are the coin toss outcomes under each $ p_k $. This is, of course, just one example.
The precise distribution of $ P $ will definitely depend on your choice
of prior on $ P $, but at the end of the day you can always numerically
approximate the posterior distribution of $ P $.
Yes, thank you for the suggestion. I agree that this is a reasonable approach. At the moment I'm most interested in a frequentist hypothesis test. This is because the design I've discussed is an alternative to another design which is well studied in the frequentist framework - and I'd like to be able to compare them
– user35546
Jul 24 at 2:33
add a comment |Â
up vote
1
down vote
up vote
1
down vote
You could structure this as a Bayesian hierarchical model and analyze
the posterior distribution of $ P $ conditioned on your "populations" which
are the coin toss outcomes under each $ p_k $. This is, of course, just one example.
The precise distribution of $ P $ will definitely depend on your choice
of prior on $ P $, but at the end of the day you can always numerically
approximate the posterior distribution of $ P $.
You could structure this as a Bayesian hierarchical model and analyze
the posterior distribution of $ P $ conditioned on your "populations" which
are the coin toss outcomes under each $ p_k $. This is, of course, just one example.
The precise distribution of $ P $ will definitely depend on your choice
of prior on $ P $, but at the end of the day you can always numerically
approximate the posterior distribution of $ P $.
answered Jul 23 at 18:35
Kevin Li
22829
22829
Yes, thank you for the suggestion. I agree that this is a reasonable approach. At the moment I'm most interested in a frequentist hypothesis test. This is because the design I've discussed is an alternative to another design which is well studied in the frequentist framework - and I'd like to be able to compare them
– user35546
Jul 24 at 2:33
add a comment |Â
Yes, thank you for the suggestion. I agree that this is a reasonable approach. At the moment I'm most interested in a frequentist hypothesis test. This is because the design I've discussed is an alternative to another design which is well studied in the frequentist framework - and I'd like to be able to compare them
– user35546
Jul 24 at 2:33
Yes, thank you for the suggestion. I agree that this is a reasonable approach. At the moment I'm most interested in a frequentist hypothesis test. This is because the design I've discussed is an alternative to another design which is well studied in the frequentist framework - and I'd like to be able to compare them
– user35546
Jul 24 at 2:33
Yes, thank you for the suggestion. I agree that this is a reasonable approach. At the moment I'm most interested in a frequentist hypothesis test. This is because the design I've discussed is an alternative to another design which is well studied in the frequentist framework - and I'd like to be able to compare them
– user35546
Jul 24 at 2:33
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2860627%2ftesting-whether-process-that-generates-coins-is-biased%23new-answer', 'question_page');
);
Post as a guest
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
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
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
1
Yes, the choice of $P$ matters, and to get a precise answer, the question needs to be more precisely stated.
– Math1000
Jul 23 at 22:04
Let's take P to be distributed as $G / (G + H)$ where $G$ and $H$ are iid Poisson with parameter $lambda_k$. I'd be interested in the answer with $lambda in [10, 100]$. This may be intractable. I'd also be interested in the answer with a more simple $P$, say the hat distribution on $[a, 1-a]$. It would be great if there was an (approximate) answer that depends only on the moments of $P$. The spirit of the question is really to understand the relationship between $n$ and $k$. Ie, in order to have a powerful test, should I flip more coins, or should I flip each coin more often.
– user35546
Jul 24 at 2:27