Questions tagged [significance]

231 questions
1
vote
2 answers

Add significance asterisks to graph between multiple bars within each x-axis in ggplot bar graph

I am trying to indicate which treatments are significantly different from the control within each of my x-axis labels in a ggplot bar graph. I have Taxonomy as the x-axis and four different bars within each one indicating the experimental treatments…
1
vote
0 answers

R: regression output reports different results every time run

I have encountered a problem in R that seems fairly odd to me to say the least. I fitted a robust regression framework using rlm from the MASS package so the specification is like this: regression <- rlm(y ~ x1 + x2 + log(x3) , data…
1
vote
1 answer

Adjust significance levels for multiple testing in correlation plots

I'd like to adjust for multiple testing when plotting multiple correlation tests. corr.test from the psych package works well, but doesn't have a nice graphical output. I'm particularly interested in using ggpairs from the GGally package because it…
RLB
  • 21
  • 2
1
vote
1 answer

R - significance test of regression coefficient

I have two hypotheses (A and B) H0_A b1<=0; H1_A: b1 >0 H0_B b2>=0; H1_B: b2 <0 To estimate the coefficients b1 and b2 I ran a regression lm(y~x1+x2). My question: how can I get the p-value for every coefficient (b1, b2), accodring to its hypothesis…
StableSong
  • 79
  • 11
1
vote
3 answers

How do I include p-value and R-square for the estimates in semPaths?

I am using semPaths (semPlot package) to draw my structural equation models. After some trial and error, I have a pretty good script to show what I want. Except, I haven’t been able to figure out how to include the p-value/significance levels of the…
Louise M
  • 53
  • 1
  • 6
1
vote
1 answer

Wilcoxon Test in Loop

I want to perform Wilcoxon test for my data (AllData) all in integer. Here's my raw data : Date v1 v2 v3 v4 v5 v6 v7 v8 1 2014-01-05 39 4 84 75 41 6 83 610 2 2014-01-12 40 6 86 77 44 6 84 765 3 2014-01-19 39 5 82 73 …
aua
  • 97
  • 1
  • 7
1
vote
0 answers

significance test for changes between two groups?

I sampled 1000 people in 2018 and then 1000 people in 2019. For brand A, 5% of participants like the brand in 2018, and 8% of participants like the brand in 2019. For brand B, 25% of participants like the brand in 2018, and 29% of participants…
Sean Lu
  • 61
  • 9
1
vote
0 answers

How do I add significance circles to circular plot?

I made a circular plot in R: vec <- c(90, 90, 100, 100, 120, 120, 120, 170, 290) vec <- circular(vec, units = "degrees", rotatio = "clock") plot(vec, units = "degrees", rotation = "clock", col = "lshkjf", zero = pi/2, shrink = 1.3) points(vec, zero…
1
vote
0 answers

Is there an R function to find P-values and standard deviation for finite mixture modeling

I have a question about finding P-values and standard deviations in R for finite mixture modeling. I have used the mixtools package (logisregmixEM) for a research. From there I got corresponding components with their coefficients, shown…
1
vote
2 answers

Adding significant stars' row with existing output in R

I got column means and range(min, max) from my data. df=matrix(c(3, 5, 2, 3, 6, 3,4, 4, 4, 5, 4, 3,5, 5, 5),ncol=3,byrow=TRUE) colnames(df)<-paste0("ch", 1:ncol(df)) rownames(df)<-paste0("G", 1:nrow(df)) mean<- colMeans(df, na.rm = FALSE, dims =…
Rokib
  • 97
  • 7
1
vote
0 answers

How can I change the type of significance bar on ggplot?

I have a ggplot that displays significance with downward brackets, but my boss wants them to have tick marks going up and down (see image below). As well, my boss wants the "ns" to be capital. Is there a good way to control this without having to it…
A Bedoya
  • 85
  • 9
1
vote
1 answer

Use stat_compare_means to test whether multiple groups are significantly different from zero?

I'm using ggpubr::stat_compare_means in ggplot2 to show significance for multiple boxplots. I am trying to find a way to show whether each of my boxplots is significantly different from a certain value (0), but I can only find ways to compare…
Scott Z
  • 33
  • 5
1
vote
6 answers

Using Taylor Series to Avoid Loss of Precision

I'm trying to use Taylor series to develop a numerically sound algorithm for solving a function. I've been at it for quite a while, but haven't had any luck yet. I'm not sure what I'm doing wrong. The function is f(x)=1 + x - sin(x)/ln(1+x) …
Zachary Wright
  • 23,480
  • 10
  • 42
  • 56
1
vote
0 answers

Calculating significance for multiple variations in AB testing in python

Sorry if this is a basic question, I have been learning AB testing for couple of days now. For instance i have a table with visitors and purchases for four different versions of websites and visitors|Purchases 21 | 3 180 |30 250 …
1
vote
0 answers

Assessing the significance of change in one parameter between two samples

Let's assume we have two data samples. One of them has an additional parameter. This parameter does not initially exist in that data sample. But after being added, we can see one of other attributes of the sample (e.g. performance percentage) has…