Questions tagged [bonferroni]

Bonferroni is a commonly applied statistical technique to counteract the multiple comparison problem. It is the simplest and conservative method to reduce the instance of a false positive, as it ignores potentially valuable information, such as the distribution of p-values across all comparisons.

45 questions
0
votes
0 answers

How to adjust p-values of the binomial test performed in R?

I have a data frame with ~500 rows which the structure looks as below: head(df) nGenes Aff4a 4 Aff4b 5 Arid3a 7 Arid3b 3 I performed the binomial test as on each row of the column nGenes and got a p-value for…
Apex
  • 1,055
  • 4
  • 22
0
votes
0 answers

p value corrections and correlation plots

I am using t-test to compare two groups of participants using SPSS. Is there a way the p-value can be corrected (e.g., a bonferroni correction)? Also, how to make a correlation plots within one figure showing the correlation line and the individual…
Christina
  • 9
  • 7
0
votes
1 answer

Grouped plots in R

I'm trying to plot a merged plot for bonferroni p adjusted value using ggplot. I'm running this code p <- ggplot(stack, aes(x = factor(phenotypes), y = values)) + geom_boxplot(aes(fill = factor(modules))) + theme_prism() + …
driver
  • 273
  • 1
  • 13
0
votes
1 answer

Multiple chi-square tests in R

Imagine I have the following data: ID. Drug1. Drug2. Drug3. Drug4. 1. 1. 0. 0. 0. 2. 0. 0. 0. 1. 3. 0. 1. 0. 0. 4. 0. 0. 1. 0. 5. 1. 0. 0. 0. Where ID is the number given to each patient and each Drug variable is a binary…
0
votes
1 answer

Trying to use the Bonferroni method to hypothesis test

I am trying to hypothesis test using the bonferroni method although I get an error message saying I can't pool together SD, does anyone know this problem and how to solve the code? Code used: with(final_data, pairwise.t.test, Concentration_of_PM2.5,…
Joe
  • 795
  • 1
  • 11
0
votes
0 answers

R - Local Moran's I Bonferroni Adjustment Failure

I'm trying to run a local Moran's I from the sp package in R and am unable to include a bonferroni adjustment in the code. I can run the localmoran function without the p.adjust code no problem, but none of the variations of the adjustment code run…
CJ Knoble
  • 11
  • 3
0
votes
1 answer

Applying Bonferroni correction to eQTL analysis done with Matrix_eQTL_engine

I have completed an eqtl analysis using the MatrixEQTL package. me <- Matrix_eQTL_engine( snps = snps, gene = gene, cvrt = cvrt, output_file_name = output_file_name, pvOutputThreshold = 0.05, useModel = modelLINEAR, …
0
votes
0 answers

Function Quest: Bonferroni confidence and Interval estimates

Good day from Noob central! I am looking for a prediction function that also gives me the Bonferroni confidence and interval estimates. Something like: predict(PH,data.frame(Time=20), interval = "confidence",adjust=bonferroni, level=.95) Where PH…
Patella
  • 61
  • 4
0
votes
0 answers

What kind of Bonferroni adjustment to apply

I am currently working on sign predictability of certain non-linear models for various financial assets. The following table shows the percentage of correct sign forecasts for 5 financial asset generated using 9 different models where *, ** and…
0
votes
2 answers

How to calculate the Bonferroni Lower and Upper limits in R?

With the following data, I am trying to calculate the Chi Square and Bonferroni lower and upper Confidence intervals. The column "Data_No" identifies the dataset (as calculations needs to be done separately for each dataset). Data_No Area …
EleMan
  • 43
  • 1
  • 7
0
votes
1 answer

Need of bonferroni correction in A/B testing

I am a newbie in the field of Data Science. I came across the below statements which read: More metrics we choose in our A/B testing, higher the chance of getting significant difference by chance. To eliminate this problem we use Bonferroni…
0
votes
0 answers

R, Bonferonni and Holm Tests

Comparing Bonferonni & holm pairwise.t.test(y,grp,p.adj = "bonferroni") Pairwise comparisons using t tests with pooled SD data: y and grp Nitro A Nitro B None Pharma A Nitro B 1.00000 - - - None 0.00062 0.00032 - …
pigzmalone
  • 43
  • 7
0
votes
1 answer

P-values in a "pairwise.prop.test" from the stats package on R using a Bonferroni correction

First time asking a question. I have done my best to conduct my own searches and have looked at the manual. I hope I am not posting a repeat or an off-topic. I have an output from using the pairwise.prop.test with a bonferroni correction…
Cat
  • 1
  • 1
0
votes
1 answer

Applying a Bonferroni Correction on a chi square test result R

I have applied an R chi square test on a dataset with two nominal variables, namely subject category(SC) and Research Institution(RI). The table looks like this RI1 RI2 RI3 RI4 RI5 RI6 RI7 RI8 RI9 RI10 sc1 4.95 2.97 2.97 5.94…
tom sawyer
  • 47
  • 1
  • 2
  • 9
0
votes
0 answers

Bonferroni´s correction in a Duncan Test in R

Im doing the same method that is in the image Image, i need to know how can i put the script in R to make the Bonferroni´s correction in the Duncan Test that they mentioned, given "(α´= α/3, α=0.05)". I used the following script: …
1 2
3