Skip to content
Prev 298953 / 398503 Next

predicting expected number of events using a coxph model

On 2012-07-02 14:14, peter dalgaard wrote:
As I read the OP's previous response, s/he has not necessarily
added sampledLifetime and sampledCensoredQ to *testTimeSeries*
but perhaps only to *sampledTimeSeries*. (But I don't know why
the error refers to "x".)

It is also not clear from the original post just where
sampledLifetime and sampledCensoredQ resided in the original
call to coxph.

Perhaps we could have a look at
  str(sampledTimeSeries)
  str(testTimeSeries)
?

Peter Ehlers