Questions tagged [significance]

231 questions
0
votes
0 answers

Testing significance between 2 survey response rates (R)

I have a survey that was split into 2, one group had pens, another didn't have pens. I want to compare if adding pens led to a significant increase in responses. Attached are the results. N is the responses for 1 (with pens) and 2(without pens), Ttl…
0
votes
0 answers

R: how to add significance differences between sub groups on a line plot

I have a line plot for 3 different groups and I would like to present on the chart, in addition to the significant differences, the significance of the differences between subgroups. For example, add the significance of the difference between each…
Maya Eldar
  • 49
  • 5
0
votes
1 answer

How to move significant level on plot to the top?

I have this barplot using ggpubr with the code visualiseplot <- visualisepwc %>% add_xy_position(x = "Condition") visualiseplot3 <- ggbarplot(data_sum, x = "Condition", y = "Q70.7", fill = "Condition") + stat_pvalue_manual(visualiseplot, hide.ns =…
Jasmine
  • 1
  • 1
0
votes
1 answer

Denote pairwise significance labeling with letters

I have to label pairwise comparisons on a graph with letters. If the letters are the same, then they are not statistically different, and if they are statistically significant then the letters are different. My data are not normal, I know how to use…
0
votes
0 answers

Statistical significance within difference in difference analysis between two cell groups in R

I'm trying to test the difference in difference between 2 cells for control and exposed during pre-wave and post-wave. 1 - Here is the column layout of the data in spreadsheet for Cell 1 and Cell 2: Pre-wave exposed Cell 1 | Pre-wave control Cell 1…
0
votes
0 answers

How to add significance of Tukey's test to ggplot2 figure with multiple facet?

I generated a plot using a long format table, ggplot() and facet_wrap() functions in Rstudio. I want to add values of Tukey's tests applied to different levels of data and annotated with a system of stars (or letters) for significance. Here is the…
joketri
  • 23
  • 5
0
votes
1 answer

Can a significance test be one-sided?

I am conducting a regression analysis and my aim is to see whether a theoretical approach applies to the data. The data of the dependent variable is seperated to three categories. Therefore, I have 1 of them as referrence and added 2 dummy…
fatih
  • 11
  • 2
0
votes
0 answers

significance code missing in aov() output in R

when i run the following code, the summary of my aov() output does not show significance codes for the p-values. What can I do so that I the output will give significance codes? group1 <- c(rnorm(n = 15, mean = 50, sd = 7)) group2 <- c(rnorm(n = 15,…
0
votes
1 answer

Colour statistically non-significant values in seaborn heatmap with a different colour

I had this problem that I wanted to somehow highlight statistically not significant correlations in seaborn's heatmap. I knew I could hide them with the following code: import numpy as np import matplotlib.pyplot as plt import seaborn as sns from…
My Work
  • 2,143
  • 2
  • 19
  • 47
0
votes
1 answer

R loop/automation calculating statistic comparing two specific means (groups within categories) repeatedly with specific pair combinations

I have a dataframe with three variables: Var1 (with values of A, B, and C), Var2 (with values of X and Y), and Metric (various numeric values). For every group in Var1 there exists multiple of each Var2 (unique by other variables but I am collapsing…
planto
  • 35
  • 4
0
votes
1 answer

Adding significance level brackets with ** to a grouped boxplot; ggplot

I created this boxplot and I need to add significance level brackets between horses of "Modern" and "Roman" in each facet. I tried geom_signif but I could only make brackets between groups "Modern" and "Roman" and not between every two horses. Could…
Azy
  • 65
  • 8
0
votes
2 answers

Is there a way to change the significance level (alpha) in R?

Im trying to perform a simple hypothesis test but now I need t-values for alpha = 0.01 instead of 0.05 (the default). Is there a way to do this in R? This is what I am trying to get for alpha = 0.01: enter image description here
Yellow SIngh
  • 1
  • 1
  • 1
0
votes
0 answers

How to rearrange x-position of significance lines in ggplot?

Please find the data that I need to visualize here. I want to reveal if there is any variable that is significantly different than the reference variable. I draw the barplot, list the variables, which will be compared with each other, make the…
Erdem Erikçi
  • 33
  • 1
  • 6
0
votes
1 answer

Interpreting overall effect if main and interaction effects are present?

Let's supoose, I have three Independent categorical variables e, f and g and would like to estimate the dependent variable y. After some work, I come with the following regression model: y = b0 + b1*x + b2*y + b3*z + b4(xy) + b5(xz) How can I…
0
votes
1 answer

The P-Value and significance level I added to R ggplot, are incorrectly placed

I tried to add significane level (package:ggpubrto)to my t_test plot (package:rstatix) and got a plot which the lines of significance are in the "pulled" to the right of the plot. I copy the code from this link…
Oicarmel
  • 11
  • 2