[R] Metropolis acceptance rates

2008-04-08 Thread Michael Margolis
hat's on screen is gone forever. Thanks, Michael Michael Margolis Profesor Investigador Escuela de Economía Universidad de Guanajuato UCEA-Campus Marfil, Fracc 1 El Establo, Guanajuato, Gto. CP 36250 Mexico (52)(473) 735 29 25 Ext. 2858 [[alternative HTML versi

Re: [R] how to check linearity in Cox regression

2008-11-25 Thread Michael Margolis
onlinear test? --Michael Margolis ..QUOTE.. Use pspline within a Cox model. It includes a fairly general test for nonlinearity, that is similar to GAM models. Terry Therneau > coxph(Surv(time, status) ~ ph.ecog + pspline(age), lung) Call: coxph(formula = S