[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: visualizing stpiece models with graph dot?
Hello,
I did a piecewise constant exponential model (with 7 covariates) and
would like to visualize the results! Is it possible to use the
graph dot command to plot the hazard ratio of covariates (in a
particular order - from high to low!)? If so, how do I do that?
It should look like this:
covariate6 |...........o....
covariate1 |.........o......
covariate3 |.......o........
+----------------
hazard ratio
the command to plot should be:
graph dot numerical variable , over(categorical variable
[,sort((stat)varname)])
but my problems are:
a) how to introduce my covariates instead of a categorical var?
b) how to sort?
Thanks for your help and suggestions!
Philipp
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/