p-value Questions
6
Solved
It's common to put stars on barplots or boxplots to show the level of significance (p-value) of one or between two groups, below are several examples:
The number of stars are defined by p-value...
5
Solved
So, I've been spending some time looking for a way to get adjusted p-values (aka corrected p-values, q-values, FDR) in Python, but I haven't really found anything. There's the R function p.adjust, ...
Holotype asked 7/8, 2014 at 14:31
5
I am performing multiple regressions on different columns in a query file. I've been tasked with extracting certain results from the regression function lm in R.
So far I have,
> reg <- lm(...
Below asked 22/7, 2015 at 17:50
7
Solved
I want to perform a stepwise linear Regression using p-values as a selection criterion, e.g.: at each step dropping variables that have the highest i.e. the most insignificant p-values, stopping wh...
Archespore asked 13/9, 2010 at 14:5
5
Solved
I'm running many regressions and am only interested in the effect on the coefficient and p-value of one particular variable. So, in my script, I'd like to be able to just extract the p-value from t...
3
Solved
This is probably a simple question but I am trying to calculate the p-values for my features either using classifiers for a classification problem or regressors for regression. Could someone sugges...
Gay asked 10/3, 2014 at 16:52
2
Solved
So lets work through the example from ?t.test()
We do a two-sample t-test on the data by:
t.test(1:10, y = c(7:20))
Now I am only interested in saving the p-value
When I input the followng code...
3
Solved
I am using R survival package, survdiff function. I wonder how to get the p value from the return value.
> diff = survdiff(Surv(Time, Censored) ~ Treatment+Gender, data = dat)
&gt; diff
Cal...
Perdu asked 2/4, 2016 at 2:56
3
Solved
I am confused about the concept of p-value. In general, if the p-value is greater than alpha which is generally 0.05, we are fail to reject null hypothesis and if the p-value is less than alpha, we...
Albumin asked 8/3, 2015 at 0:15
2
Solved
I am stuck on how to apply the custom function to calculate the p-value for two groups obtained from pandas groupby.
vocabulary
test = 0 ==> test
test = 1 ==> control
problem setup
impo...
2
Solved
I am trying to compute a matrix of correlation, and filter the correlations based on the p-values to find out the highly correlated pairs.
To explain what I mean, say I have a data frame like this...
Taliped asked 23/6, 2016 at 21:7
1
Solved
Using the ToothGrowth dataset (built into R), I have used the following code.
library(ggplot2)
library(tidyverse)
library(ggpubr)
p <- ggboxplot(ToothGrowth, x = "supp", y = "len",
color = "su...
6
Solved
I have a cell array of p-values that have to be adjusted for multiple comparisons. How can I do that in Matlab? I can't find a built-in function.
In R I would do:
data.pValue_adjusted = p.adjust(...
Endophyte asked 25/8, 2011 at 9:23
1
Solved
What formula is used to calculate the value of Pr(>|t|) that is output when linear regression is performed by R?
I understand that the value of Pr (> | t |) is a p-value, but I do not unders...
Boaster asked 3/5, 2019 at 11:33
1
Solved
I'm using ridge regression (ridgeCV). And I've imported it from:
from sklearn.linear_model import LinearRegression, RidgeCV, LarsCV, Ridge, Lasso, LassoCV
How do I extract the p-values? I checked ...
Verine asked 23/1, 2019 at 8:9
2
Solved
When I run gam.check(my_spline_gam), I get the following output.
Method: GCV Optimizer: magic
Smoothing parameter selection converged after 9 iterations.
The RMS GCV score gradiant at convergence...
1
Solved
The Fisher's Exact Test is related to the hypergeometric distribution, and I would expect that these two commands would return identical pvalues. Can anyone explain what I'm doing wrong that they d...
Leghorn asked 29/10, 2018 at 18:48
0
In postgres I am calculating an R2 and a slope using the below functions:
regr_r2(y,x)
regr_slope(y,x)
Is there any way to calculate the p-value associated to the slope within postgres?
Protectorate asked 9/7, 2018 at 14:3
1
Solved
I am trying to add significance levels to my boxplots in the form of asterisks using ggplot2 and the ggpubr package, but I have many comparisons and I only want to show the significant ones.
I try...
1
Solved
I'd like to know if it's possible to annotate p-values at the top of the graph and in between 2 bar plots. In my case, using ggplot2, I have a faceted graph with 2 conditions (Passage and Isolated)...
Thoria asked 12/7, 2017 at 3:30
1
Solved
Despite having searched for two day in related questions, I have not really found an answer to this Problem yet...
In the following code, I generate n normally distributed random variables, which ...
Mendelian asked 19/3, 2017 at 16:19
2
Solved
I did a linear regression for a two tailed t-test with 178 degrees of freedom. The summary function gives me two p-values for my two t-values.
t value Pr(>|t|)
5.06 1.04e-06 ***
10.09 < 2e-...
Zamia asked 6/1, 2017 at 11:57
2
Solved
summary displays significance code for p.values. Is there a R function that convert p.value to significance code? for example: 0.02 --> '*' and 0.005 --> '**'?
1
Solved
I got this plot
Using the code below
library(dplyr)
library(ggplot2)
library(ggpmisc)
df <- diamonds %>%
dplyr::filter(cut%in%c("Fair","Ideal")) %>%
dplyr::filter(clarity%in%c("I1...
2
Solved
Consider a dataset Data which has several factor and several numerical continuous variables. Some of these variables, let's say slice_by_1 (with classes "Male", "Female") and slice_by_2 (with class...
Verecund asked 28/8, 2015 at 23:44
1 Next >
© 2022 - 2024 — McMap. All rights reserved.