Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
63 views

Head First Statistics Book: error in hypothesis test?

Chapter 13 in the book Head First Statistics deals with hypothesis testing. Its example is like the below: A drug (called snorecull) cures snore at a rate, 0.9. Then, one gets the below results. ...
Hyo D. Kim's user avatar
1 vote
1 answer
154 views

Binomial test for finding ratios

I have tried reading about the concept here: https://www.ncl.ac.uk/webtemplate/ask-assets/external/maths-resources/statistics/hypothesis-testing/hypothesis-testing-with-the-binomial-distribution.html ...
x89's user avatar
  • 113
0 votes
0 answers
29 views

Jeffreys' test for a single event

Assume $x\sim B(p,n)$ and using Jeffreys' prior the posterior distribution of $p$ for $x$ events and $n$ observations is $$\text{Beta}(x+\frac{1}{2},n-x+\frac{1}{2})$$ I am reading about a Jeffreys' ...
user avatar
1 vote
0 answers
61 views

Are 2 samples from the same binomial distribution?

I have 2 samples drawn from binomial distributions. My null hypothesis is that the 2 samples are from the same distribution. How to reject the null hypothesis with p < 0.05? Concrete case: Sample #...
lacton's user avatar
  • 111
1 vote
2 answers
66 views

Test whether my new method's type I error rate correctly matches chosen alpha

I am testing two different methods for hypothesis testing, bootstrapped likelihood ratio tests, and likelihood ratio tests assuming an asymptotic distribution. I would like to see if the number of ...
A Friendly Fish's user avatar
2 votes
0 answers
29 views

What is the correct sample size for the purposes of this test?

$X_i$, $i = 1, \ldots, n_X$, are i.i.d. from some distribution; and $Y_j$, $j = 1, \ldots, n_Y$, are i.i.d. from some other distribution. Consider all pairs $(X_i, Y_j)$. The number of pairs is $n=n_X ...
Jessica's user avatar
  • 1,251
0 votes
0 answers
21 views

Rejection region in LRT test

Let's say I have $X_i \sim Bi(1, \theta$) and want to test $H_0: \theta \geq \theta_0$ vs $H_1: \theta < \theta_0$. I've found that $\lambda = \frac{\sup_{\theta \in \Theta_0}L(\theta)}{\sup_{\...
Peter Sampodiras's user avatar
0 votes
0 answers
34 views

Binomial Test for data with normally distributed messurement error

I have a series of measurements and I want to perform a binomial test to see if the chance of exceeding some value $a$ is less or equal to some $p_0$. The measurement has some error which is normally ...
Adrian 's user avatar
0 votes
1 answer
43 views

Analogue of fisher's exact test for one group?

I understand that Fisher's exact test applies to testing whether the proportion of an outcome in one group, $p_1$, differs from the proportion of the outcome in another group, $p_2$. This could be ...
ffffffyyyy's user avatar
1 vote
1 answer
77 views

Statistical test for binomial draws with unknown number of trials

I have two binomial random variables $X_1 = \text{Bin}(N, p_1)$ and $X_2 = \text{Bin}(N, p_2)$; same number of trials but different probabilities of success. Suppose that the number of trials $N$ is ...
lmyt's user avatar
  • 11
1 vote
3 answers
89 views

Binomial test to establish a pass criterion

I'm sorry for the following -probably- stupid question. I'm performing a psychological experiment and I have no idea about how to establish how many control items one has to pass to be included. My ...
Katherine's user avatar
  • 175
0 votes
0 answers
72 views

Sample size required for normal approximation - null hypothesis or estimate?

Consider a simple hypothesis test with a binomial distribution $Bin(p,n)$: $$ H_0: p = p_0, \\ H_a: p \neq p_0 $$ and my estimate for $p$ is $\hat{p}$. If I wanna do a normal approximation, a common ...
aaa's user avatar
  • 143
1 vote
0 answers
64 views

UMP size $\alpha$ hypothesis test for discrete distribution

Let $\left(Z_1, \ldots Z_n\right)$ be an i.i.d. sample with common probability mass function $$ p_Z(j)=\vartheta^2 I_{[j=1]}+2 \vartheta(1-\vartheta) I_{[j=2]}+(1-\vartheta)^2 I_{[j=3]} $$ Find a UMP ...
Stats_Rock's user avatar
1 vote
1 answer
121 views

Why are the p-values for a binomial test very different from the p-values for a chi-squared test?

I am testing if a coin is fair by throwing it n-times and having n/2 + sqrt(n) heads. However, I get very different p-values ...
algohertz's user avatar
0 votes
0 answers
21 views

Bivariate problem, what is the best model for this? Scoring probability depending on distance

I have been directed here from the main stackoverflow site, where i described my problem: here. Basically i have a set of sports data containing shots with their distance to the goal and the result (...
LesGrossman's user avatar
2 votes
1 answer
772 views

What is the connection between Binomial and Jeffreys Test?

Normally, I am testing the calibration of a probability of default model with the binomial test. The ECB is suggesting the Jeffreys Test. Are they related in any way? Is the Jeffreys test superior to ...
PalimPalim's user avatar
2 votes
1 answer
27 views

Hypothesis testing with binomial test vs Chi2

Is it valid to test the following hypothesis with a binomial test? Or should a chi2-test be applied in this case? A factory produces different products (A-G) with different rates of production errors ...
J-H's user avatar
  • 257
1 vote
0 answers
60 views

Testing if Binomial Data [closed]

Suppose that I have the following data: $4,0,4,2,1,8,4,1,3,3,5,4,6,1,3$. How do we check if the data comes from a binomial distribution, say Bin($p,8$) for some $p$ or from some other distribution on $...
Ashok's user avatar
  • 1,181
0 votes
0 answers
35 views

Verification of my results

For an experiment where I simulated n=10000 games of chess with random moves I obtained the following results: White won = 1674 Black won = 1721 Draw = 6605 Now I am interested in testing whether ...
heyjude123's user avatar
4 votes
1 answer
78 views

Binomial proportion test

I'm really confused about a basic test for a binomial proportion. Specifically, the p-value. If $n=20$ with $y=17$ successes, I want the p-value for $H_0: \pi\leq 0.7$ vs. $H_A: \pi > 0.7$. I've ...
fmtcs's user avatar
  • 555
1 vote
1 answer
88 views

Doubt in calculation of critical region in two-tailed test

Consider the following question:- A tetrahedral die is manufactured with numbers 1, 2, 3 and 4 on its faces. The manufacturer claims that the die is fair. All dice are tested by rolling 30 times and ...
Boson's user avatar
  • 13
7 votes
1 answer
214 views

How to perform a 2 sided binomial test with the alternative being larger

Given data for two groups: Group A: $\left\{ (n_1, s_1), (n_2, s_2), \ldots, (n_k, s_k) \right\}$. Group B: $\left\{ (n_1, s_1), (n_2, s_2), \ldots, (n_l, s_l) \right\}$. Where $n_i$ is the number ...
Mark's user avatar
  • 277
2 votes
1 answer
93 views

Binomial hypothesis test - Coin flip

A coin was flipped 10 times and landed on head 9 times. We want to test $$H_0: p = \frac{1}{2} \ vs \ H_1: p > \frac{1}{2}, p = \mathbb{P}(head)$$ with a confidence level of $\alpha = 0.05$. The ...
Lucas cantu's user avatar
2 votes
1 answer
665 views

How does Clopper and Pearson interval compute

Suppose we have $10$ observations and we run $20$ trials. A two-sided binomial test with $H_0:p=0.4$ from R I get is ...
Simple's user avatar
  • 207
1 vote
2 answers
102 views

How many tests do I need to run?

My hypothesis is that the wording of a particular yes-no question affects whether people will answer "Yes" or "No", such that Wording 1 is more likely to be answered "Yes"...
Remster's user avatar
  • 350
0 votes
0 answers
51 views

How to organize experimental data for A/B testing?

Context: We have a fleet of aircraft in service, the manufacturer regularly produces upgrade recommendations (SB) to be implemented on aircraft in order to increase its reliability. Reliability is ...
Yoan B. M.Sc's user avatar
0 votes
0 answers
51 views

How can I improve the results of such a binomial test? Was it a good choice for this problem?

I have a dataset that looks like this: initial final division fsa hrs_prev fsa/hrs_prev 2020-01 2020-06 A 0 168 0 2020-01 2020-06 B 14,29 177,45 2020-02 2020-07 A 9,52 177,45 0,054 and so on <...
Dimitri's user avatar
  • 15
0 votes
0 answers
35 views

Binomial test for absenteeism

I have a dataset that looks like this: Company hrs_prev fsa fsa/hrs_prev A 140 5 0,035 B 145 2 0,01379 C 140 60 0,4286 A 155 20 0,0129 A 180 25 0,1389 B 120 0 0 B 130 0 0 etc etc etc etc ...
Dimitri's user avatar
  • 15
1 vote
1 answer
63 views

alternative to ANOVA or simplifying approximations for multi-factor,, batch design with binomial data (advanced beginner)

this is my first post. I did already read various didactic materials and related posts here, but still had trouble figuring this one out. Sorry this is so long but I am trying to be as specific as ...
BioLiason's user avatar
2 votes
0 answers
74 views

How does the following term happen when using the Wald Test on two-sample binomials?

I'm having trouble understanding one of the steps of the Wald test used in two-sample binomial proportions. More specifically, when $X_1, ..., X_{n_1}$ are iid Binomial$(1, p_1$), $Y_1, ..., Y_{n_2}$ ...
Chris's user avatar
  • 21
1 vote
1 answer
251 views

Consecutive coin flips, what is the appropriate statistical test for this word problem? [closed]

I was listening to a podcast by NDGT (Neil deGrasse Tyson, a prominent scientist) and he posed a simple thought experiment to illustrate the susceptibilities to cognitive bias. What I've come here to ...
Kardo Paska's user avatar
2 votes
0 answers
49 views

Testing sequence of ones and zeros for randomness

I am given a sequence of $40$ ones and zeros and I have to test the null hypothesis that ${40 \choose n_1}$ sequences are all equally probable ($n_1$ being the number of ones). To do so, I have to use ...
qarabala's user avatar
  • 143
1 vote
0 answers
20 views

Lower confidence interval for quantile function [duplicate]

I have a real-valued, unknown distribution $\mu$ and would like to find the largest threshold $t \in \mathbb{R}$ such that $\Pr_{X \sim \mu}\left[X \leq t\right] \leq q$ with high probability $1-\...
funky_capybara's user avatar
1 vote
1 answer
2k views

Central Limit Theorem for proportion - np >=10 or 5?

While trying to understand deeper about Central Limit Theorem for proportions, I learned CLT for proportions is based on the fact that binomial distributions can be approximated by normal ...
Peiran Yu's user avatar
  • 119
1 vote
1 answer
205 views

Hypothesis testing: Should it be done on the transformed parameter or the non-transformed?

I want to compare two proportions, for example: succN <- 2 d <- data.frame(pledge = c("yes", "no"), s = c(succN, succN),n = c(100, 100)) ...
Farzin Shamloo's user avatar
3 votes
0 answers
293 views

Power calculation for binomial test

I have been asked to do a particular power calculation: We assume that the true probability of an event is 93%. We will do a binomial trial of size N, observe the outcome, and construct a confidence ...
Old_Mortality's user avatar
1 vote
1 answer
61 views

Chess opening move selection [duplicate]

So I’m playing a chess game and using 365chess.com to help with my moves (this is totally legal btw as long as engine analysis is turned off) it says move A leads to a win with white* 36% of the time ...
Cameron's user avatar
  • 11
1 vote
1 answer
42 views

Assessing the meaning of a metric in a binary design

I try to assess the meaning of a software metric lines of code on bug density with the help of statistical methods. I have information on bugs and other needed software measures for several years. ...
Julian Re's user avatar
  • 113
0 votes
0 answers
25 views

Significance Testing for the Difference between Binomials [duplicate]

I have two algorithms, $A_1$ and $A_2$. $A_1$ either accepts or rejects samples from dataset $P$ $A_2$ either accepts or rejects samples from dataset $Q$ Below is a 2x2 contingency table for the ...
user2757771's user avatar
0 votes
1 answer
181 views

Independence Assumption Simulation?

I'm simulating what happens when you break the assumption of independence when you sample without replacement. The rule of thumb is that you shouldn't sample more that 10% of the population. Kahn ...
cloud36's user avatar
  • 109
0 votes
1 answer
519 views

Hypothesis testing two unfair coins to see if they have 'equal' bias [duplicate]

Consider tossing two unfair coins 100 times: How can I know using the two sets of Heads or Tail results whether the two coins have an equal (or similar) bias with a 95% confidence? I am currently ...
speedy_turtle's user avatar
0 votes
0 answers
116 views

Analytic expression for false-negative rate of binomial tests?

I wrote a previous question yesterday which was maybe too long and boring to read. So to try to get an answer, I've boiled down my question to something short and specific which is: Is there an ...
Steven Sagona's user avatar
3 votes
1 answer
283 views

spicy binom_test gives the same answer for alternative greater or less

I'm seeing something very unexpected with the binomial test function in spicy (python). ...
ryu576's user avatar
  • 2,630
0 votes
1 answer
623 views

Interpreting binomial test results

I'm relatively new to stats and any help would be appreciated. My experiment has two boxes one baited with food and the other non-baited. I am trying to test whether the probability of the animal ...
Sagarika Phalke's user avatar
2 votes
4 answers
797 views

How to derive the binomial test?

From what I understand from a pervious question I asked, the p-value for a particular binomial test (specifying a number of flips, and number of heads and tails, and a null-hypothesis to test against) ...
Steven Sagona's user avatar
1 vote
1 answer
978 views

If prop.test is an approximation to binom.test, why don't we use binom.test when computers can do it?

When computing by hand, it makes a lot of sense to approximate the binomial distribution with a normal distribution because otherwise it would be impossible to perform calculations. However, when ...
Pere's user avatar
  • 6,603
1 vote
0 answers
75 views

Statistical evaluation of a 'success rate'

A recent TV show concerned with phenomena "that science cannot explain" described the work of a researcher who examined the claim that some people had telepathic powers. I did not note down ...
user6376297's user avatar
0 votes
0 answers
15 views

Binomial Proportion Test on test and control populations [duplicate]

I am new to statistical tests and request your help with the following question: A company wants to test the hypothesis that it's new ad will increase it's total number of subscribers (conversion rate)...
Christopher's user avatar
1 vote
0 answers
52 views

Binomial Zero Probability Test

Let's assume a histogram of $K$ cells and $N$ samples. In some bins, the counts are zero, $k(i)$ $i \in [1,K]$. How can I test the probability is really zero (Bayesian) or alternatively what is the p-...
Hanan Shteingart's user avatar
3 votes
1 answer
86 views

Can an inference be made about how an outcome might look with “more power”?

I have a binomial outcome that I have compared across two groups: Control - 21/783 occurrences (2.68%, 1.71-4.14% 95% CI) Experimental - 13/261 occurrences (4.98%, 2.79-8.57%, 95% CI) The p value is ...
Dylan Russell's user avatar

1
2 3 4 5 6