Questions tagged [hypothesis-test]

Functions used to choose between competing hypotheses about one or more probability distributions. For statistical questions, please use stats.stackexchange.com.

Common hypothesis tests include the one-sample and paired t-test for means, the z-test, which approximates the t-test for large samples, F-test for differences in variance, and Chi-square test for independence, and Fisher's exact test for differences in proportion.

Please note that this tag is totally different from , which refers to software testing.

349 questions
0
votes
0 answers

compare sample data and generated data

We have sample data, we managed to determine the distribution type that it follows (Generalized Extreme Value) and its parameters (K,Sigma,Mu) And we generated n samples (10000) from the same distribution with the same parameters and in the same…
0
votes
1 answer

Doing large number of 2-sample proportion tests in r

I'm trying to create a simulation for a proportion test to see how often I would get a significant results (i.e. p/value < 0.05). I'm assuming unequal population sizes, so for example test <- rbinom(100, 5000, 0.05) ctrl <- rbinom(100, 10000,…
L Xandor
  • 1,659
  • 4
  • 24
  • 48
0
votes
0 answers

hypothesis testing with bootstrap confidence intervals

I'm trying to do some hypothesis testing with a bootstrap confidence interval, but am having some trouble setting up the bootstrap. The goal is to test the null at theta=1 and at level 0.05. I've provided a sample of the data that is being used…
Jay
  • 25
  • 4
0
votes
0 answers

how to fix leaks with instruments in iOS app

I have just started with instruments to find for memory leaks in app Can any one suggest me how to fix the leaks as mentioned in instruments.. Actually I am getting as shown below screen Can any one suggest me the steps to fix.. I have referred…
soumya
  • 3,801
  • 9
  • 35
  • 69
0
votes
1 answer

Kolmogorov-Smirnov test using L-moments instead of mle estimates in R

I am trying to perform a KS test to assess the suitability of fitting a Pearson III distribution to my data. Using mle implemented in fitdist from the fitdistrplus package we obtain parameter estimates which can be directly plugged into…
boro141
  • 65
  • 1
  • 10
0
votes
0 answers

Test if regression weights are different from 1

I am doing an lm()regression with R where I use stock quotations. I used exponential weights for the regression : the older the data, the less weight. My weights formula is like this : alpha^(seq(685,1,by=-1))) (the data length is 685), and to find…
etienne
  • 3,648
  • 4
  • 23
  • 37
0
votes
1 answer

Hypothetical Testing in Kolmogorov-Smirnov Test- Whether critical value or p value

I am new to Statistics. I am trying out one sample Kolmogorov-Smirnov Test. I was able to find till D max. But I am confused to move forward for Hypothesis Testing. Inorder to determine the Hypothesis should I move forward with -- Critical value…
USB
  • 6,019
  • 15
  • 62
  • 93
0
votes
2 answers

Paired t-test in R

I am trying to run a paired t-test in R on data grouped by factors: > head(i.o.diff,n=20) # Difference Tree.ID Tree.Name Ins Outs #1 0.20 AK-1 Akun 1.20 1.0 #2 -1.60 AK-2 Akun 0.40 2.0 #3 -0.60 AK-3 …
elduderino260
  • 223
  • 3
  • 12
0
votes
1 answer

Apply t-test on list in R

I have a list object in R with dataframe names as: "pav_DJF_histo.csv" "pav_DJF_rcp26_2040s.csv" "pav_DJF_rcp26_2080s.csv" "pav_DJF_rcp45_2040s.csv""pav_DJF_rcp45_2080s.csv" "pav_DJF_rcp85_2040s.csv" "pav_DJF_rcp85_2080s.csv"…
code123
  • 2,082
  • 4
  • 30
  • 53
0
votes
0 answers

T test and permutation testing

I have a data frame which looks like this. There are 2 separate groups and 5 different variables. df <- read.table(text="Group var1 var2 var3 var4 var5 1 3 5 7 3 7 1 3 7 5 9 6 1 5 2 …
user2846211
  • 949
  • 6
  • 16
  • 24
0
votes
2 answers

Research paper for paired t-test implemented in R

I have used paired t-test to validate the hypothesis using my data from R. Is there any research article related to t-test in R? If there is any article related to t-test in R, please let me know.
Exchhattu
  • 101
  • 1
  • 8
0
votes
3 answers

Error with t-test

I'm having errors with the normal t-test: data <- read.table("/Users/vdas/Documents/RNA-Seq_Smaples_Udine_08032013/GBM_29052013/UD_RP_25072013/filteredFPKM_matrix.txt",sep="",header=TRUE,stringsAsFactors=FALSE) PGT <-…
ivivek_ngs
  • 917
  • 3
  • 10
  • 28
0
votes
1 answer

T-test in Compare of evolutionary Algorithms

I have implemented 2 evolutionary Algorithm. and run each of them for 100 trials. I have saved the final best fitness values of each trial. How can I use T-Test to compare final mean fitness of each algorithm with matlab? I want to see whether a…
aeranginkaman
  • 279
  • 1
  • 3
  • 11
-1
votes
0 answers

How can I run a Mann-Whitney test with a variable with three values?

I have a dataset in Stata with two variables, perc_vol (numeric) and low_medium_high (values "L", "M", "H"). I want to run a Mann-Whitney test to compare perc_vol between H and L, H and M and L and M. For two values I can use code like ranksum…
Marcel
  • 1
  • 3
-1
votes
1 answer

T.Test in Excel vs. Python

I am checking if Set A is better than Set B. Excel says it is at 95%. Excel I am using =T.TEST(Set A, Set B, 1, 1), p-value = 0.019914 Python, this code gives me , p = 0.90 or not significant based on the function below. What is correct? #…
b t
  • 1
  • 1