[R] help with probabilites in cph

viostorm rob.schutt at gmail.com
Fri May 13 16:49:54 CEST 2011


I would like to get the probabilities from cph into a vector so I can put
them programatically on a graph.

Does anyone know how to get a list of the probabilities?  All I can seem to
do is $coef which only contains coefficients.

----------------------------
cph(formula = srv.comb ~ collaterals + age)

                     Model Tests       Discrimination    
                                          Indexes        

Obs        555    LR chi2      7.46    R2       0.014    
Events     136    d.f.            2    g        0.263    
Center -0.2202    Pr(> chi2) 0.0240    gr       1.301    
                  Score chi2   7.56                      
                  Pr(> chi2) 0.0229                      


            Coef    S.E.   Wald Z Pr(>|Z|)
collaterals  0.4531 0.1721  2.63  0.0085  
age         -0.0067 0.0082 -0.82  0.4123 
------------------------------


--
View this message in context: http://r.789695.n4.nabble.com/help-with-probabilites-in-cph-tp3520426p3520426.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list