Questions tagged [hypergeometric-distribution]
A discrete distribution used to model sampling without replacement.
210
questions
1
vote
0
answers
19
views
Conditional probability given conditional probabilities [closed]
If $X$ and $Y$ are independent binomial random variables with identical parameters $n$ and $p$, show
analytically that the conditional probability of $X$, given that $X + Y = m$ is the hypergeometric ...
0
votes
0
answers
44
views
multivariate hypergeometric test in R
I have 10 multiple choice questions, each question has 4 answers and all answers are same for each question. Lets say choice D is the correct answer for all questions, but 35% of the answers were ...
0
votes
0
answers
12
views
Likelihood of all hypergeometric parameters conditional on all others
How to derive the likelihood function of other parameters of the hypergeometric distribution conditional on the others?
Why is the $L(N|y)$ equivalent to $P(Y=y)$?
I mean This seems too evident. I'm ...
1
vote
1
answer
27
views
Binomial distribution but only failures are replaced
I might be thinking about this in a completely wrong way, but I have the following problem:
Let's say we have 100 people in the population, and we know the probability of someone dying on any given ...
0
votes
0
answers
19
views
How to perform hypergeometric test
Imagine an organism that has 10 genes, and a pathway that is composed of all those genes. You run an experiment, test all 10 genes, and find 3 genes that are differentially expressed and belong to ...
0
votes
0
answers
18
views
Vapnik-Chervonenkis dimension of hypergraph, given bound on number of hyperedges
in studying now about Vapnik-Chervonenkis dimension, and there is one question that I not able to solve.
Let $\textrm{(X , R)}$ be a range space so that any hypergraph $\textrm{(V, F)}$ in it ...
1
vote
1
answer
78
views
UMP test for hypergeometric distribution
$P(X=x|N,D,n)=\frac{^DC_x \times ^{(N-D)}C_{(n-x)}}{^NC_n}$
Now, I was trying to test for $H_0:D\le D_0$ vs $H_1:D>D_0$ using likelihood ratio test.
But to find the maximum likelihood estimate of $...
0
votes
0
answers
13
views
Can biased samples be used to improve a confidence interval based on an unbiased sample?
Assume that an urn contains $N$ marbles some are red and some are white. The aim is to determine a confidence interval for the number of red marbles in the urn. This is done by drawing $n$ marbles ...
0
votes
0
answers
15
views
Multivariate Hypergeometric distribution for non-exchangeable sequence
I have a problem that I think is similar to the Multivariate Hypergeometric distribution urn problem as described on Wikipedia.
I have a dataset where each row is a trial. All trials have the same ...
0
votes
0
answers
21
views
Do we assume independence among individual observations in a hypergeometric test?
Commonly, the hypergeometric test and Fisher's exact test are two main statistical approaches used when computing a gene set enrichment for a functional term (e.g., among the top 10 differentially ...
0
votes
0
answers
54
views
Binomial Proportions when sampling without replacement not studied?
Question
When doing surveys with a population, we obviously don't replace by design. Why is it then that the mathematics and statistics described in textbooks seems to be veering more on the side of ...
1
vote
1
answer
139
views
Sample Size Determination for Hypergeometric Rare Event
Suppose that there are 10 smokers and 590 non-smokers in a room and let $X$ be a random variable that describes the number of smokers picked out, without replacement, in $n$ random draws. What methods ...
0
votes
0
answers
21
views
How much error will there be if one models the multivariate hypergeometric distribution using a multinomial distribution?
See the title. I stumbled upon this answer which explains the approximation in more detail. One can approximate the multivariate hypergeometric distribution by using the multinomial distribution.
...
0
votes
0
answers
23
views
Best way to check that categorical data have not been shuffled
Someone has done a survey, asking a list of $N$ people if they were married ($M$) or single ($S$).
You get the result as a table with two columns, 'Name' (text, all unique values) and 'Status' (...
0
votes
0
answers
45
views
Probability of getting k different colored balls from an urn with K different colors of balls, each color has the same number of balls
Let's say I have an urn with $n$ balls, with $K$ different colors of balls, where each color has the same number of balls: $\frac{n}{K}$. Given I reach into the urn and grab a ball (without ...
0
votes
1
answer
122
views
What is correct way to calculate the expected overlap of protein sets in two related biological system
I have a question regarding the statistics of protein set differences in two biological samples.
I have performed quantitative proteomics analyses on both WT and KO cells (derived from the WT cells by ...
1
vote
1
answer
192
views
Does the hypergeometric distribution follow a Bernoulli process?
There is a comment in an online resource that I need help understanding:
In a Bernoulli process, given that there are M successes among N trials, the number X
of successes among the first n trials ...
0
votes
0
answers
28
views
Can Bayesian methods be used to calculate the distribution of a candidate's true percentage of votes as a function of the # votes revealed?
Partly related to my earlier post:
Null and alternative hypothesis in a test using the hypergeometric distribution
I was watching the news yesterday evening; they covered the French presidential ...
0
votes
0
answers
31
views
How to calculate significance with hypergeometric test on my data?
I have data of interactions between multiple nodes that are binned into either positive or negative. I want to do pairwise hypergeometric tests in R to get the significance of either positive or ...
12
votes
3
answers
945
views
How do you calculate the expected value of a discrete distribution without replacement?
Say I have a set of 10 values I want to draw 3 values from, uniformly, without replacement. For instance:
$$S = \{0,0,0,0,22.95,0,0,0,19.125,25.5\}$$
With replacement, this seems simple, you just add ...
1
vote
2
answers
85
views
how does adding information change the probability of an event?
In a comedy TV programme, four men are sitting at the bar.
The barman tells them: "Did you know that, statistically, one out of four men is having an affair?".
The first man replies "...
1
vote
0
answers
50
views
Drawing 0 green balls from an Urn with non-uniform probabilities
An urn contains $N_1$ red balls and $N_2$ green balls. Each ball has an associated weight. Each ball is drawn (without replacement) with a probability proportional to how much its weight contributes ...
0
votes
0
answers
30
views
How to estimate the parameters of a hypergeomtric distribution?
I am looking for some guidance on how to estimate the parameters of a hyper-geometric distribution, based on a random sample.
For example, if I generate a distribution as follows:
...
1
vote
0
answers
13
views
What distribution does a ratio of successes to failures (with replacement) follow?
Suppose you realize $n$ draws—with no replacement—from a sample of $N$ marbles, in which I know there are $K$ white marbles and $N - K$ black marbles. The probability of getting $k \leq n$ white ...
0
votes
0
answers
30
views
Are the reported odds to win Lotto Max on https://playalberta.ca/games/lotto-max incorrect?
The Alberta Lottery displays the odds to win various Lotto Max prizes on their website here . Each $5 wager contains 3 sets of 7 numbers. The winning numbers are drawn from a pool of 50, so the ...
0
votes
1
answer
154
views
A variation of the Lady Tea Tasting problem [closed]
I am quite stuck on this question. My intuition would have been to say that we would prefer to pour milk first on heads, but I am not sure.
The setting is: the Lady guesses "milk first" in 2/...
3
votes
2
answers
100
views
Combinatorics - calculating probability of choosing n people from m groups of k people
I am trying to calculate and understand the following question:
I have 10 groups of 10 people each and am choosing 10 people at random. What is the probability that all 10 people I have chosen are ...
1
vote
0
answers
24
views
Sampling identical sequences from two urns with unique colored balls
In very simple terms, my problem is as follows: given two urns, both with N balls where each ball has a unique color, I am interested in sampling sequences of N balls without replacement from each urn....
1
vote
1
answer
106
views
Is There a Conjugate Prior for a Multivariate Hypergeometric Likelihood?
I am working on a problem using a multivariate hypergeometric likelihood. The multivariate hypergeometric distribution does not belong to the exponential family of distributions, so (to my knowledge) ...
1
vote
0
answers
19
views
Game design urn problem
I am designing a tabletop game and trying to conceptualise the probabilities involved. These can be expressed as an urn problem:
Our urn contains seven counters, either green or red. We draw five and ...
0
votes
0
answers
59
views
Test change in intersection between two sets of subsets
let's say I have a set A, and a set B, both subsets of C. To test whether A and B have statistically greater overlap, I can use the hypergeometric test. However, let's say I now have:
$A_1, B_1 \in ...
3
votes
0
answers
27
views
How many orders will be placed on average until stock runs out, given a probability that the customer will find the item they want?
Let there be 500 units of stock $s$ of diverse items in a store. Customers arrive one by one and, for every given item, there is a likelihood $m$ of 5% that it is precisely the item that the customer ...
0
votes
2
answers
104
views
Multivariate Hypergeometic Distribution with overlapping events
I have a deck of 52 playing cards and I play a game where I need a combination of specific card categories to make combos.
For example: I draw 5 cards as a sample hand and I need exactly 1 Jack and 1 ...
1
vote
0
answers
97
views
Hypergeometric distribution with no number of defect items information
So I am looking at the problem here:
A hospital has received a shipment of 25 new X-ray machines. The hospital could lose its
license for housing X-ray machines if the machines are not properly ...
2
votes
1
answer
36
views
What is the best way to test of draws ( 10,000 unique possibilities) from multiple sample are random?
say I have 6 people drawing from their own box, each box contains 10,000 unique barcodes. Now at the end of the experiment each person has drawn roughly 10-20 barcodes. How do I test if the barcodes ...
1
vote
1
answer
41
views
Intuition for hypergeometric variance?
I'm trying to learn the major facts about a bunch of probability distributions, hypergeometric included. I can use the commonalities between it and a binomial to my advantage for thinking through some ...
4
votes
1
answer
47
views
Percent chance that two samples are different population (NPS)
Practical question (not a statistician), I want to make a PPT slide (amongst several) in a business discussion, related to comparing a new survey with an old one. Want to be able to say something to ...
0
votes
1
answer
451
views
Draw two balls without replacement
Suppose we consider an urn with 3 red balls and 5 blue balls.
We now draw two balls without replacement. If we draw a red, it is a success otherwise a failure.
Let X=1 if we draw a red ball in the ...
2
votes
1
answer
107
views
How to calculate $Var(X)$ for the union size?
Let's say there is a set of $4$ bags $\{{a,b,c,d\}}$ containing balls of colors $\{{red,blue,green,orange,black\}}$. Balls are assigned to bags in an arrangement that allows a variable number of ...
0
votes
0
answers
122
views
Finite population correction for Binomial distribution without Normal approximation
I would like to evaluate the quantile function for a binomially-distributed random variable $X\sim Bin(n,p)$, where $n\ge 1000$. There are a couple of problems:
The number of trials $n$ is very close ...
0
votes
0
answers
32
views
When is it justified to assume a hypergeometric distributions for power analysis and hypothesis testing
Suppose a car rental company historically only rented white cars, and they want to to test if red cars make customers more likely to pay for an upgrade, such as enabling satellite radio. (I am just ...
2
votes
1
answer
3k
views
Binomial vs hypergeometric finite sampling distribution
I was reading these notes:Finite Population Sampling with Application to the Hypergeometric Distribution and I have a question just about the first two pages. The first page, they derive the variance ...
1
vote
0
answers
59
views
Exercise on MLE with hypergeometric distribution
I am struggling with the following exercise from Stapleton's book (it's exercise 7.4.1).
A box contains eight eggs, of which an unknown number $R$ are rotten.
You take a simple random sample of three ...
1
vote
0
answers
30
views
Using hypergeometric test for presence/absence of different conditions
My dataset consists of 3 conditions, with different numbers of samples in each condition (30 in condition 1, 80 in condition 2, 50 in condition 3). I have measured the presence or absence of a gene in ...
1
vote
1
answer
531
views
Drawing a random sample without replacement from data set
I have data generated by a RCT with a control and treatment group, each with n=300, so N=600. The observations are assumed to be i.i.d..
From that population, I'd like to draw 5 random observations ...
4
votes
1
answer
125
views
Is this a Hypergeometric Distribution Problem?
There are $100$ people who bought a ticket for a raffle with $5$ prizes being offered. They randomly draw a name for the $5^{th}$ place prize, then they randomly draw a name for the $4^{th}$ place ...
3
votes
1
answer
52
views
How to determine odds in a game similar to roulette
A game similar to Roulette has 360 slots.
20 of these slots are 'scoring' positions.
Each slot will only accomodate 1 ball.
If a number of balls are introduced (Say 3)
What are the chances that any 1 ...
0
votes
3
answers
122
views
Probability of drawing two differently colored balls in a partition of equally sized partitions
If I randomly distribute, say, 100 red and 10 blue balls onto a field of 10000 square meters (100*100 m), how would one calculate the chance of having at least one red and at least on blue in the same ...
2
votes
1
answer
105
views
Comparing a random sample and a non random sample extracted from a finite population
I am not able to formulate a more descriptive title.
I have a population of five million people, I code it with R programming language:
pop <- 5e6
41% of them ...
3
votes
1
answer
115
views
How to interpret the univariate Fisher's noncentral hypergeometric density PMF?
This is my first time posting so I apologize in advance for any errors! I am struggling to understand the probability mass function (PMF) of the Fisher's noncentral hypergeometric distribution, which ...