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: re. ploting self-computed odd ratios and the 95%CI
From
"PAPANIKOLAOU P." <[email protected]>
To
<[email protected]>
Subject
st: RE: re. ploting self-computed odd ratios and the 95%CI
Date
Fri, 29 Nov 2013 16:53:40 -0000
Dear Andrew.
I would like to thank you for kindly and generously providing me with
the script to do the plot. I much appreciate it.
Kind regards
Panos
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: 16 November 2013 09:04
To: Statalist
Subject: st: re. ploting self-computed odd ratios and the 95%CI
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/
*
* 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/