Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: How to plot different xlines by group using -eclplot-


From   "Scott Merryman" <[email protected]>
To   [email protected]
Subject   Re: st: How to plot different xlines by group using -eclplot-
Date   Mon, 10 Mar 2008 14:21:36 -0500

Do you mean something like this:

sysuse auto,clear
qui  parmby "regress mpg gear", by(fore) label norestore

replace fore = fore+.1 if parmseq == 2
replace fore = fore -.1 if parmseq == 1

eclplot estimate min95 max95 fore , hori ///
	ylabel(0 1, labgap(*15) notick  nogrid) ///
  	ymlabel( -.1 "Gear Ratio" .1 "Intercept" .9 "Gear Ratio" 1.1
"Intercnet", ///
                angle(h) grid)



Scott

On Mon, Mar 10, 2008 at 12:08 PM,  <[email protected]> wrote:
> Dear all,
>
> I am trying to use -eclplot- to plot effect sizes and their condidence
> intervals. However, I have two or more groups and am using the option
> -by-.
>
> In this respect, the objetive is to plot different x-axis reference lines
> depending on the group studied. All I get is the same x-axis reference
> line for all groups. Is there a way to accomplish what I am looking for?
>
> Thanks for your time.
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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