Convert a proportional hazards regression to a multinomial regression.
convertstoml(survobj, covmat)
a data set on which to apply conditional multinomial regression, corresponding to the proportional hazards regression analysis. In order to run the line commented out below, you would need this: # @importFrom mlogit mlogit.data
A survival object, with potentially right censoring.
a matrix of covariates.
Implements version of kz19PHInfiniteEstimates.
The proportional hazards regression is converted to a multinomial regression logistic regression, and methods of kolassa16PHInfiniteEstimates may be applied.
This function is intended to produce intermediate results to be passed to convertmtol
, and then to reduceLR
of kolassa97PHInfiniteEstimates. See examples in the convertmtol
documentation.
kolassa97PHInfiniteEstimates
kolassa16PHInfiniteEstimates
kz19PHInfiniteEstimates