[R] similarity test with R

Chuck Cleland ccleland at optonline.net
Mon Dec 11 17:53:49 CET 2006


Ethan Johnsons wrote:
>> x=c(3.05176E-05,0.000457764,0.003204346,0.0138855,0.04165649,0.09164429,0.1527405,0.1963806,0.1963806,0.1527405,0.09164429,0.04165649,0.0138855,0.003204346,0.000457764,3.05176E-05)
>> y=c(0.0000306,0.0004566,0.0031985,0.0139083,0.0415539,0.0917678,0.1528134,0.1962831,0.1962994,0.1527996,0.0917336,0.0415497,0.0139308,0.0031917,0.0004529,0.0000301)
> 
> I tried chisq.test, t-test, prop.test, etc, but the p-value is very
> high, which is not 'statistically significant'.  With these data sets,
> I want to compare the similarity, which it is very close to identical
> if you plot them.    I am wondering if there is any test that can
> verify the similarity of the two data sets.
> 
> thx much

http://finzi.psych.upenn.edu/R/Rhelp02a/archive/82001.html

library(equivalence)

> ej
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894




More information about the R-help mailing list