Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Transform table to graph
From
Kun A Susiloretni <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: Transform table to graph
Date
Sun, 30 Mar 2014 19:10:56 +0700
Dear Statalist,
I am using -stcox and esstab- in Stata 11 to build models in a table. The commands are as follow:
eststo clear
eststo: quietly stcox i.y
eststo: quietly stcox i.y i.x1 i.x2 i.x3 i.x4
eststo: quietly stcox i.y i.x5 i.x6
eststo: quietly stcox i.y i.x1 i.x2 i.x3 i.x4 i.x5 i.x6
esttab using Effect.rtf, replace one noeqli label title(Table 1: Effect of promotion xxxxx) nonumbers mtitles("Model A" "Model B" "Model C" "Model D" )addnote ("aic= LR Test from Akaiki, df_m= degress of freedom of the model, Data source: EBF.dta" "Model A: Based Model, Model B: maternal factors, Model C: family factors, Model D: full model")b(a2) eform ci n pr2 scalars(aic df_m ) nogaps longtable obslast
I like to present the table produced to a graph. I have tried using -parmest- , it produced graphs of each model. I need to depict y's hazard ratio of all models in a graph. I refer to the Chicago Guide to Writing about Multivariate Analysis.
Any feedback would be greatly appreciated. Thank you very much in advance.
Best regards,
Kun Susiloretni
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/