similar to: Kolmogorov smirnov test

Displaying 20 results from an estimated 2000 matches similar to: "Kolmogorov smirnov test"

2010 Aug 05
1
Kolmogorov-Smirnov test, which one to use?
Hi, I have two sets of data, an observed data and generated data. The generated data is obtained from the model where the parameters is estimated from the observed data. So I'm not sure which to use either one-sample test ks.test(x+2, "pgamma", 3, 2) # two-sided, exact or two-sample test ks.test(x, x2, alternative="l") If I use the one-sample test I need to
2009 Apr 29
2
Kolmogorov-Smirnov test
I got a distribution function and a empirical distribution function. How do I make to Kolmogorov-Smirnov test in R. Lets call the empirical distribution function >Fn on [0,1] and the distribution function >F on [0,1] ks.test( ) thanks for the help -- View this message in context: http://www.nabble.com/Kolmogorov-Smirnov-test-tp23296096p23296096.html Sent
2011 Apr 27
3
Kolmogorov-Smirnov test
Hi, I have a problem with Kolmogorov-Smirnov test fit. I try fit distribution to my data. Actualy I create two test: - # First Kolmogorov-Smirnov Tests fit - # Second Kolmogorov-Smirnov Tests fit see below. This two test return difrent result and i don't know which is properly. Which result is properly? The first test return lower D = 0.0234 and lower p-value = 0.00304. The lower 'D'
2011 Feb 19
3
Kolmogorov-smirnov test
Is the kolmogorov-smirnov test valid on both continuous and discrete data? I don't think so, and the example below helped me understand why. A suggestion on testing the discrete data would be appreciated. Thanks, a <- rnorm(1000, 10, 1);a # normal distribution a b <- rnorm(1000, 12, 1.5);b # normal distribution b c <- rnorm(1000, 8, 1);c # normal distribution c d <- rnorm(1000,
2011 Jul 29
1
How to interpret Kolmogorov-Smirnov stats
Hi, Interpretation problem ! so what i did is by using the: >fit1 <- fitdist(vectNorm,"beta") Warning messages: 1: In dbeta(x, shape1, shape2, log) : NaNs produced 2: In dbeta(x, shape1, shape2, log) : NaNs produced 3: In dbeta(x, shape1, shape2, log) : NaNs produced 4: In dbeta(x, shape1, shape2, log) : NaNs produced 5: In dbeta(x, shape1, shape2, log) : NaNs produced 6: In
2011 Jan 26
1
How to calculate p-value for Kolmogorov Smirnov test statistics?
Although I saw this issue being discussed many times before, I still did not find the answer to: why does R can not calculate p-values for data with ties (i.e. - sample with two or more values the same)? Can anyone elaborate some details about how does R calculate the p- values for the Kolmogorov Smirnov test statistics? I can understand the theoretical problem that continuous distributions do
2004 Sep 09
1
kolmogorov-smirnov for discrete ordinal scale data
Hi, I was wondering whether there is an implementation of the Kolmogorov-Smirnov goodness of fit test for discrete, ordinal scale data in R - I've only managed to find the test for continuous data. Thanks! Gila
2002 Jul 01
1
modified kolmogorov-smirnov
I'm trying to use modified Kolmogorov-Smirnov test with a Normal which I don't know it's parameters. Somebody told me about the lilifor function in R, but just can't find it. Does anybody know how I can test with the modified Kolmogorov-Smirnov test? Porqu? usar una base de datos relacional cualquiera, si pod?s usar PostgreSQL?
2010 Jun 22
1
k-sample Kolmogorov-Smirnov test?
Hello, I am curious if anyone has had any success with finding a R version of a k-sample Kolmogorov-Smirnov test. Most of the references that I have able to find on this are fairly old and I am wondering if this type of analysis has fallen out of favour. If so, how do people tend to compare distributions when they have more than two? Is it reasonable to pursue an adjusted p-value method. That is,
2010 Nov 11
2
Kolmogorov Smirnov Test
I'm using ks.test (mydata, dnorm) on my data. I know some of my different variable samples (mydata1, mydata2, etc) must be normally distributed but the p value is always < 2.0^-16 (the 2.0 can change but not the exponent). I want to test mydata against a normal distribution. What could I be doing wrong? I tried instead using rnorm to create a normal distribution: y = rnorm
2005 Oct 07
1
permutational Kolmogorov-Smirnov p-value for paired data
Dear List, I am new to R and find it very powerful. I would like to compute the permutational p-value for paired data using Kolmogorov-Smirnov, but the built-in ks.test does not have this option, unlike the t.test which has a paired=TRUE flag. Has someone written a library or a routine that does this? Alternatively, if someone could show me how to do pair-wise permutations in R, then I can
2007 May 27
1
Parametric bootstrapped Kolmogorov-Smirnov GoF: what's wrong
Dear R-users, I want to perform a One-Sample parametric bootstrapped Kolmogorov-Smirnov GoF test (note package "Matching" provides "ks.boot" which is a 2-sample non-parametric bootstrapped K-S version). So I wrote this code: ---[R Code] --- ks.test.bootnp <- function( x, dist, ..., alternative=c("two.sided", "less", "greater"), B = 1000 ) {
2005 Nov 22
1
Kolmogorov-Smirnov test help
Hi I am conducting 2-sample Kolmogorov Smirnov tests for my Masters project to determine if two independant tree populations have the same size-class distribution or not. The trees have been placed into size-class categories based on their basal diameters. Once I started running the stats on my data, I got confused with the results. Just to show an example of what I was testing I ran stats
2012 May 26
1
Kolmogorov-Smirnov test and the plot of max distance between two ecdf curves
Hi all, given this example #start a<-c(0,70,50,100,70,650,1300,6900,1780,4930,1120,700,190,940, 760,100,300,36270,5610,249680,1760,4040,164890,17230,75140,1870,22380,5890,2430) length(a) b<-c(0,0,10,30,50,440,1000,140,70,90,60,60,20,90,180,30,90, 3220,490,20790,290,740,5350,940,3910,0,640,850,260) length(b) out<-ks.test(log10(a+1),log10(b+1)) # max distance D
2002 Jun 23
1
Kolmogorov-Smirnov tests: overflow
Dear All, I've got a problem with ks.test. I've two realy large vectors, that I'd like to test, but I get an overflow, and the p-value cannot be calculated: > length(genomesv) [1] 390025 > length(scopv) [1] 140002 > ks.test(genomesv, scopv) Two-sample Kolmogorov-Smirnov test data: genomesv and scopv D = 0.2081, p-value = NA alternative hypothesis: two.sided
2006 Apr 28
1
Checking Goodness of Fit With Kolmogorov-Smirnov
Hi, I'm using the power.law.fit function from the igraph package to fit a power law distribution to some data. This function returns the power law exponent as it's only result. I would like to have some sort of goodness-of-fit and/or error estimate of the exponent returned. This paper: http://www.edpsciences.org/articles/epjb/pdf/2004/18/b04111.pdf suggests using the
2008 Apr 09
1
chi-square test
Hi R-users, I would like to find the goodness of fit using Chi-suare test for my data below: xobs=observed data, xtwe=predicted data using tweedie, xgam=predicted data using gamma > xobs <- c(223,46,12,5,7,17) > xtwe <- c(217.33,39,14,18.33,6.67,14.67) > xgam <- c(224.67,37.33,12.33,15.33,5.33,15) > chisq.test(xobs, xtwe = xtwe, rescale.p = TRUE) Error in chisq.test(xobs,
2003 May 15
2
kolmogorov-smirnov
Hello, I got a rather simple question: Can I find somewhere in R the significance values for a Kolmogorov distribution (I know the degrees of freedom and I have already the maximum deviation). ks.test is not really doing what I want. All I need is the values, like one can get the values for a chi-squared distribution by 'qchisq(0.05, 375)'. tnx, Kurt.
2008 Sep 14
2
k-sample Kolmogorov-Smirnov test?
Hello, I would like to conduct a k-sample K-S test, but cannot find reference to its implementation in R. Does anyone have experience with this? Thanks, Mark [[alternative HTML version deleted]]
2007 Nov 06
2
Kolmogorov-Smirnoff test
I am trying to determine whether two samples are identical or not. I'm aware that somebody can use the Kolmogorov-Smirnoff test to compare empirical distributions, but since my samples have ties I'm not sure if I'm getting the right p-values for the comparison. Can the Kolmogorov-Smirnoff test be adjusted for the case when ties exists and are there any functions that already