[R] Weights using Survreg
Terry Therneau
therneau at mayo.edu
Thu Sep 1 15:23:39 CEST 2011
The survreg function uses case weights. That is, if a subject is given
a weight of 2, the result is the same as if there were a second
observation (exactly the same).
Early in my career data sets that contained only categorical variables
were often collapsed in just this way, in order to save on computer
memory and allow the analysis of larger problems. (Continuous variables
such as age might be turned into categorical to facilitate the
collapse). Long, long ago in computer time...
Terry Therneau
More information about the R-help
mailing list