File: Readme

package info (click to toggle)
survival 2.29-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,204 kB
  • ctags: 1,077
  • sloc: asm: 8,713; ansic: 6,928; sh: 22; makefile: 2
file content (35 lines) | stat: -rw-r--r-- 1,476 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  Notes on creating a new survreg.

 The fitting logic has been updated
	1. Estimate the mean model first.  This gives a more solid estimate
of sigma.  
	2. From this point, use the glim trick to go to the full model.
	3. Levenberg-Marquardt has been replaced with a Fisher scoring
step.  The step isn't always as good, but it is always SPD.  With better
starting estimates we rarely use the Fisher anyway.


There are 3 data sets here for which the survival4 version of survreg fails.
   Capacitor: There was an error in my initial values
   Peterson: Very hard -- a factor variable for which some groups have n=2.
   Donnell: The likelihood surface looks like a kidney, so even close to the
solution a slight misstep lands in a region for which the information
matrix is not positive definite.

  The capacitor data now works like a charm.

  The Peterson data takes 8 iterations, but makes it.  There is some
step halving in the sequence because of near singularity.

  The Donnell data fits in 9 iterations.  A good initial estimate along
with a decent first step (scoring based) are the keys.

  In all of these, censorReg gets to the solution quicker, e.g. 5 iterations
for the Donnell data.  I expect that there are ill-conditioned data sets
for which survreg won't converge by censorReg will.  (If you find one,
send it to me however.  I'd like to add it to the challenge list).  Survreg
has more flexibility, though, particularly with respect to penalized
models.