[R] Logrank test

2007-06-01 Thread Mbini
Hi I have a problem with computing the logrank test using R, can someone give me the relavent code or help me otherwise please! Thanks -- View this message in context: http://www.nabble.com/Logrank-test-tf3851514.html#a10910383 Sent from the R help mailing list archive at Nabble.com.

Re: [R] Logrank test

2007-06-01 Thread Kevin E. Thorpe
See ?survdiff in the survival package. Mbini wrote: Hi I have a problem with computing the logrank test using R, can someone give me the relavent code or help me otherwise please! Thanks -- Kevin E. Thorpe Biostatistician/Trialist, Knowledge Translation Program Assistant Professor,

[R] logrank test

2007-05-07 Thread raymond chiruka
hie how do you compute the logrank test using R what commands do you use thanks - Don't pick lemons. [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

[R] logrank test

2007-05-01 Thread raymond chiruka
how do l programme the logrank test. l am trying to compare 2 survival curves - [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

Re: [R] logrank test

2007-05-01 Thread Peter Dalgaard
raymond chiruka wrote: how do l programme the logrank test. l am trying to compare 2 survival curves library(survival) ?survdiff __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

Re: [R] logrank test

2007-05-01 Thread Roland Rau
Hi, On 5/1/07, raymond chiruka [EMAIL PROTECTED] wrote: how do l programme the logrank test. l am trying to compare 2 survival curves if you simply want to use the logrank test, have a look at the first example of the function survdiff in the survival package. If you read the help page

Re: [R] logrank test

2007-05-01 Thread Marc Schwartz
On Tue, 2007-05-01 at 08:34 -0700, raymond chiruka wrote: how do l programme the logrank test. l am trying to compare 2 survival curves See: library(survival) ?survdiff and take note of the 'rho' argument, which when set to 0 is the logrank test. HTH, Marc Schwartz

Re: [R] logrank test

2007-05-01 Thread Roland Rau
And since Peter Dalgaard also just answered (without advertising his book): if you (or your library) happen to have 'Introductory Statistics with R' by Peter Dalgaard, have a look at section 12.4. Best, Roland On 5/1/07, raymond chiruka [EMAIL PROTECTED] wrote: how do l programme the logrank