Logrank
Comparing survival curves of two groups using the log rank test
Author: Giuseppe Cardillo
The logrank calculation here is correct. This code applies the Yates correction in the calculation of the z-score. (Line 207 of my version of the code.) I get 0.0193 from this code when I remove the Yates correction.
21 Sep 2011
Logrank
Comparing survival curves of two groups using the log rank test
Author: Giuseppe Cardillo
I notice that in the call to kmplot [lines 96-97] in current version, the hard-coded value 0.05 is used, even if alpha is specified differently as an input. Is that correct?
The first line of runcontest.m has a non-commented Copyright statement, which messes up the execution.
27 Aug 2010
quine
Produce a copy of quine.m in the current directory.
Author: Clyde Miller
It's a bit weird to comment on a six-year-old entry to the FEX, but I just stumbled across this.
Is this code actually a quine? My understanding is that the quine is supposed to reproduce itself as output, not replace its own source code with itself.
The logrank calculation here is correct. This code applies the Yates correction in the calculation of the z-score. (Line 207 of my version of the code.) I get 0.0193 from this code when I remove the Yates correction.
Comment only
28 Jan 2012
Logrank
Comparing survival curves of two groups using the log rank test
I'm sorry, but using your software I do not get the p-value for the log-rank test that is consistent with the results of either R or Stata (both of which match). For the test data supplied with the function, I get a p-value of 0.0193, whereas you're getting a p-value of 0.01529. The KM curves are the same, but there is apparently something wrong in your logrank computation.
Comment only
22 Sep 2011
Logrank
Comparing survival curves of two groups using the log rank test
Comment only