front |1 |2 |3 |4 |5 |6 |7 |8 |9 |10 |11 |12 |13 |14 |15 |16 |17 |18 |19 |20 |21 |22 |23 |24 |25 |26 |27 |28 |29 |30 |review |
The following Stata commands test the
hypothesis of proportional hazard in model II: stcox group number, scaledsch(sca*) schoenfeld(sch*) stphtest, detail The effects of Thiotepa (P=0.55) and pre-treatment number of tumors (P=0.60) did not violate the PH assumption. The first command generates some variables with prefixes sca and sch. They contain the scaled Schoenfeld residuals and Schoenfeld residuals. The second command is based on those variables. It is a good practice to delete them after the testing: drop sca* sch* |