search for: gcoppola

Displaying 2 results from an estimated 2 matches for "gcoppola".

Did you mean: coppola
2006 Oct 15
2
overlapping intervals
Hello everybody, I have two series of intervals, and I'd like to output the shared regions. For example: series1<-cbind(Start=c(10,21,40,300),End=c(20,26,70,350)) series2<-cbind(Start=c(25,60,210,500),End=c(40,100,400,1000)) > series1 Start End [1,] 10 20 [2,] 21 26 [3,] 40 70 [4,] 300 350 > series2 Start End [1,] 25 40 [2,] 60 100 [3,]
2004 Dec 30
1
t-test pvalue
Hi all, I have some t-test values, and I am trying to obtain the associated p-values. Is 'pt' the right command? I wonder why 1) it returns different values for x and -x, and 2) how to obtain a 2-sided p-value. example [R version 2.0.1, WinXP]: #if t=2.23 (df=10), the expected p-value is 0.05 for 2-sided and 0.025 for 1-sided t-test pt (2.23,10) [1] 0.9750788 pt (-2.23,10) #or pt