[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: saving plot output from estat phtest

From   moleps islon <>
Subject   st: saving plot output from estat phtest
Date   Sat, 8 Aug 2009 11:56:58 +0200

I cant find an option in the-estat phtest, plot(x)- command to save
the plot. It would be most wellcome in writing loops over a local and
generating a combined graph of all the different PH assumption plots
in the cox regression.

local r x y z u

stcox `r', sca(sca*) sch(sch*)
estat phtest, det

foreach var in `r' {
	 quietly estat phtest,plot(`r') ----saving `var'---
graph combine `r'

Any ideas?

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index