Dear Terry,
The following is an additional set of two simple examples. In these,
no issue with factor levels, etc, arises. It looks like the problem
consistently shows up when the number of rows of newdata differs
from the number of rows in the original data set AND time and status
are not part
Ramon and Michael
There were 2 simple issues: first a set of fixes I made in May that hadn't
been pushed out to CRAN yet; second I needed to replace 'terms' with
'delete.response(terms)' in one place so that predict didn't try to find a
response that it doesn't need.
You can grab the up to
On Aug 20, 2009, at 9:26 PM, Therneau, Terry M., Ph.D. wrote:
Ramon and Michael
There were 2 simple issues: first a set of fixes I made in May that
hadn't been pushed out to CRAN yet; second I needed to replace
'terms' with 'delete.response(terms)' in one place so that predict
didn't try
Sent: Tuesday, August 18, 2009 8:26 PM
To: r-help@r-project.org
Subject: [R] Problem with predict.coxph
We occasionally utilize the coxph function in the survival library to fit
multinomial logit models. (The breslow method produces the same likelihood
function as the multinomial logit). We
-- begin included message ---
We occasionally utilize the coxph function in the survival library to
fit multinomial logit models. (The breslow method produces the same
likelihood function as the multinomial logit). We then utilize the
predict function to create summary results for various
We occasionally utilize the coxph function in the survival library to fit
multinomial logit models. (The breslow method produces the same likelihood
function as the multinomial logit). We then utilize the predict function to
create summary results for various combinations of covariates. For
6 matches
Mail list logo