Questions tagged [statistical-test]

A statistical test provides a mechanism for making quantitative decisions about a process or processes.

Statistical Tests

A statistical test provides a mechanism for making quantitative decisions about a process or processes. The intent is to determine whether there is enough evidence to reject a conjecture or hypothesis about the process. The conjecture is called the null hypothesis. Not rejecting may be a good result if we want to continue to act as if we believe the null hypothesis is true. Or it may be a disappointing result, possibly indicating we may not yet have enough data to prove something by rejecting the null hypothesis.

264 questions
2
votes
1 answer

G-test in R and Python (Two Sample Test of Proportions)

I am conducting the G test in both R and Python and I am getting different results, the results I am getting in Python being wrong. Somehow I am misapplying the formula. The data are: prfs Sex F M Pref B 29 17 A 2 12 The R Code is…
user8270077
  • 4,621
  • 17
  • 75
  • 140
2
votes
2 answers

Marascuilo procedure in R

I'm conducting the marascuilio procedure in order to compare differences between proportions. I'm using the following code (copied and adapted from this tutorial: ## Set the proportions of interest. p = c(0.3481, 0.1730, 0.4788) N = length(p) value…
Dmitry Leykin
  • 485
  • 1
  • 7
  • 14
2
votes
1 answer

What is python's equivalent of Matlab's ranksum?

The scipy.stats.ranksums, wilcoxon, mannwhitneyu all give different results from Matlab's ranksum.
Yati
  • 23
  • 1
  • 6
2
votes
3 answers

Levene test extracting p value?

I've been trying for a while on R and I can't seem to extract the p value(value for "Pr(>f))" for a levene test. The usual approach for a statistical test on R is to end the test command with a $p.value at the end. However this does not seem to work…
Vik
  • 469
  • 2
  • 6
  • 18
1
vote
0 answers

Non-Parametric Statistical Significance Test on Regression Slope

I have created a plot of the regression slope of sea surface temperatures (x) and an atmospheric variable (y). Although, I need to test the statistical significance of these trends using a non-parametric test (doesn't assume data is normally…
1
vote
1 answer

How to display letters to pairwise comparison plot?

How can I display letters on a ggstatsplot package plot for Kruskal Walllis test? This is a reproducible example based on this question. set.seed(123) # Create vector for number of cases per month cases_per_month <- c(10, 25, 20, 20, 25, 20, 19,…
Ahsk
  • 241
  • 1
  • 7
1
vote
0 answers

significant difference detection on a stream of data

There are 2 groups of user. Based on their query I return some search results to them (a1,a2,a3). The search results could vary based on either the group that user belongs to or some user specific parameter. I want to measure, whether the search…
1
vote
0 answers

what statistical analyzes can I perform between a transcriptome and candidate sequences obtained from this same transcriptome?

I have an assembled transcriptome. I performed analyses on this transcriptome to extract candidate sequences involved in the production of a substance. Then, I annotated both sets of data using the** Eggnog Mapper tool**. This is an example of my…
1
vote
0 answers

What are the meanings of the regression parameter values of ADF test and KPSS test provided by statsmodels

I am testing the stationarity of my time-series data and I am using ADF test and KPSS test provided by the statsmodel library. I have come across the values available for the regression parameter of ADF test and KPSS test. What are the meanings of…
1
vote
2 answers

R linearHypothesis (car package) testing for superiority and not just equality

I'm using the corrosion dataset from the faraway package in R. I have built a simple linear model using: # Load the data data(corrosion) help(corrosion) # Display in the "Help" window some informations head(corrosion) # Simple linear…
Adrien Riaux
  • 266
  • 9
1
vote
1 answer

SciPy's Fisher's Exact P-Value Differs from Exact Formula

I recently computed Fisher's Exact Test for a 2x2 contingency table using SciPy's built in fisher_exact() function. I'm using their example code from the SciPy docs: >>> from scipy.stats import fisher_exact >>> import numpy as np >>> table =…
OmniWheel
  • 29
  • 5
1
vote
1 answer

R - Extract confidence limits from statistical test

I am attempting to draw out confidence limits from some count data I have. I can do this manually, for example poisson.test(53,conf.level = 0.95) LCI = 39.7, UCI = 69.3 So I have some basics! I have some very very basic test data to practice on,…
JamesW
  • 127
  • 3
1
vote
1 answer

Scipy - adjust National Team means based on sample size

I have a population of National Teams (32), and parameter (mean) that I want to measure for each team, aggregated per match. For example: I get the mean scouts for all strikers for each team, per match, and then I get the the mean (or median) for…
8-Bit Borges
  • 9,643
  • 29
  • 101
  • 198
1
vote
1 answer

Apply custom interaction contrast in emmeans

I have been trying to compare a set of interaction contrasts using emmeans() and contrast(). However, I am having trouble applying a custom contrast and then compare it between groups. Here I added an example dataset so you can replicate what I am…
Ramiro Reyes
  • 535
  • 2
  • 7
1
vote
0 answers

What statistical test is appropriate to determine the difference between two lists of XY points?

I have a data set and I have a list of model points derived from them. I would like to estimate the fit of one to the other. What is the most appropriate statistical test to use? Here's some example data as tuples of n, x and y for real, and model…
1 2
3
17 18