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: re. ploting self-computed odd ratios and the 95%CI
From
[email protected]
To
Statalist <[email protected]>
Subject
st: re. ploting self-computed odd ratios and the 95%CI
Date
Sat, 16 Nov 2013 17:04:00 +0800
Panos asks how to plot point estimates and 95% CIs; there's a package for that:
******** start example ********
ssc install eclplot
sc install sencode
clear all
input str15 month point min95 max95
1Jan 10 12 14
2Feb 20 17 23
3Mar 30 25 35
end
sencode month, replace
eclplot point min95 max95 month, ///
xlabel(1 "Jan" 2"Feb" 3 "Mar")
eclplot point min95 max95 month, hori ///
ylabel(1 "Jan" 2"Feb" 3 "Mar")
exit
******** end example ********
Formatting data for usage can also be done in other ways (see
-eclplot- helpfile).
Cheers-
Andrew Lover
______________________________________________
Epidemiologist
Centre for Infectious Disease Epidemiology Research (CIDER)
Saw Swee Hock School of Public Health
National University of Singapore
*
* 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/