Re: [R] error fitting coxph model

2012-05-03 Thread Jessica Myers
Hi David, Thanks for your input. My first thought was to look for missing values, but I can tell you there are no missing values in the input. The error is occurring somewhere deep inside coxpenal.fit, so I can't identify how any NAs might be created. Also, the if/else syntax is from c

Re: [R] error fitting coxph model

2012-05-03 Thread David Winsemius
On May 2, 2012, at 3:02 PM, Jessica Myers wrote: Hi, I am using coxph from the survival package to fit a large model (100,000 observations, ~35 covariates) using both ridge regression (on binary covariates) and penalized splines (for continuous covariates). In fitting, I get a strange

[R] error fitting coxph model

2012-05-02 Thread Jessica Myers
Hi, I am using coxph from the survival package to fit a large model (100,000 observations, ~35 covariates) using both ridge regression (on binary covariates) and penalized splines (for continuous covariates). In fitting, I get a strange error: Error in if (abs((y[nx] - target)/(y[nx - 1] -