Questions tagged [p-value]

In statistical significance testing the p-value is the probability of obtaining a test statistic at least as extreme as the one that was actually observed.

The p-value is a key concept in the approach of Ronald Fisher, where he uses it to measure the weight of the data against a specified hypothesis, and as a guideline to ignore data that does not reach a specified significance level. Fisher's approach does not involve any alternative hypothesis, which is instead the Neyman–Pearson approach. The p-value should not be confused with the Type I error rate (false positive rate) α in the Neyman–Pearson approach – though α is also called a "significance level" and is often 0.05, these terms have different meanings, these are incompatible approaches, and the numbers p and α cannot meaningfully be compared.

791 questions
-1
votes
1 answer

Manual t-test in R, Tail test

I've been trying to make a manual t test of a statistic that I calculated in r. I've seen some people recommend to use the function dt but that had not worked. I know because I'm comparing my results of R with my results in STATA (the last ones I'm…
-1
votes
1 answer

What's considered a strong p-value?

Hi I'm new to statistics and just wanted some clarifications on p-values. So far I've learned that if we use a 5% significance level then we reject the null hypothesis and accept the alternative hypothesis if the p-value is less than 0.05. If the…
-1
votes
1 answer

how to use the p.adjust()-function

I got a list of p-values, obtained from two large datasets, by using the wilcox.test() function. Since there's a multiple comparisons, I have to do adjustment of the p-values. Problem is I just don't get how the p.adjust() function works. Could…
metazoa
  • 55
  • 1
  • 1
  • 9
-1
votes
1 answer

Error in R pnorm - "Non-numeric argument to mathematical function"

I have a large csv file containing more than 80000 records of a contingency table and below is the first record: test = data.frame(a=1, b=0, c=1, d=2014, R1=1, R2=2015, C1=2, C2=2014, n=2016, sampleMean=2015, popMean=2, sdErr=2015,…
Mohammed
  • 1,364
  • 5
  • 16
  • 32
-1
votes
1 answer

Pvalue and Xquared is N/A in Box-Ljung test

Box-Ljung test data: X-squared = NA, df = 20, p-value = NA. Pvalues and Xsquared are coming as N/A, but my data values doesn't have any zero.
PC-Stats
  • 95
  • 2
  • 9
-1
votes
1 answer

Correlations, Scatter Plots and P-Value

I have a set of data, after questioning customers.(it's about a shoe company) Two of the columns include GENDER and INCOME. I am supposed to test if there are any significant differences in income between genders, and give the corresponding P-value.…
deliapitu
  • 3
  • 1
-1
votes
2 answers

Regression with coefficients' significance check

Can someone refer me to the linear regression package, which would not only run the regression but also would calculate the significance criteria (std / mean) for each of the regression coefficients and compare them to the appropriate p-value with…
Toly
  • 2,981
  • 8
  • 25
  • 35
-1
votes
1 answer

Why sometimes p-value is smaller than the most accurate number that numpy can represent

Usually we meet the case that p-value (e.g. 2.3e-99), which is obviously smaller than the most accurate number that python can represent(i.e. machine epsilon). Could you please explain the phenomenon? How credible is the p-value? If it is possible,…
Vennie Do
  • 1
  • 2
-1
votes
1 answer

How can I run logistic regression loop that will run across all Independent variables , pairs and trios

I would like to run the dependent variable of a logistic regression (in my data set it's : dat$admit) with all available variables, pairs and trios(3 Independent vars), each regression with a different Independent variables vs dependent variable.…
mql4beginner
  • 2,193
  • 5
  • 34
  • 73
-2
votes
1 answer

RSTUDIO finding p values and R-squared for each subsample

Hi I am very new to R and to this forum. I want to run multiple regressions on subsamples from a large dataset. Here is a sample of my dataset named "totaldoc": I want to do lm(numericdiffNGO∼numericdiffmeeting)) for each issue_name1. I tried this…
-2
votes
1 answer

how can I calculate the p-value in R?

how can I find the p-value of these regressions? transphobia <- read.csv("https://raw.githubusercontent.com/umbertomig/intro-prob-stat-FGV/master/datasets/broockman_kalla_2016.csv") trans <- subset(transphobia, !is.na(therm_trans_t0)) therm3.dummy…
user
  • 21
  • 3
-2
votes
1 answer

pyspark p values and chisquaretest correlations

+----------+---------------+--------------------+--------------+-------+-----------+-----------+-----------+-----------+-----------+-----------+------------+------------+-------------+-------------+-------------+-------------+-------------+----------…
Kor
  • 63
  • 1
  • 8
-2
votes
1 answer

How to get P value of correlation coefficient

I am trying to use Go for simple statistics. I am using this package to get correlation coefficient. It works well but it does not give P value of the correlation. Other functions in this package are given above on the same page:…
rnso
  • 23,686
  • 25
  • 112
  • 234
-2
votes
1 answer

How to calculate p-value for Kendall Tau correlation coefficients in R?

I have calculated Kendal correlation coefficients using: corr_test <- cor.test(values, use = "pairwise", method="kendall") corr_test but I need the p-value. I cannot find any packages that provide a p-value for the Kendall correlations. How can I…
Nneka
  • 1,764
  • 2
  • 15
  • 39
-2
votes
1 answer

stat_cor function incorrectly calculating correlation p value

I am using stat_cor with ggplot to add r and p values to a scatter plot. It is incorrectly calculating the p value based on the number of observations in long format data frame. It is confused about long format organization, and the p value is…
b1234
  • 63
  • 7
1 2 3
52
53