[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: mrunning size
Glad you like the command, but sorry, but from this
direction comes no light whatsoever.
I am not even clear on why you are sure that
the problem lies with -mrunning-. -mrunning-
as far as graphics is concerned is just a wrapper
for various standard calls and does nothing
whatsoever at a low level. Likewise what you
do downstream with the graph produced is beyond
In general I have found that unless graphs
are equivalent in content and style -graph combine- will
not always do what you hope it will. I think
the problem lies in -graph combine- being half stupid and half
intelligent about what the component graphs are.
Vince Wiggins will no doubt be able to say something
less stupid and more intelligent.
> I have been using the Royston and Cox -mrunning, Stata 9.1,
> windows xp, a
> very helpful addition to Stata.
> I made a graph using this code:
> use cl_anemia_ra1, clear
> set seed 239
> getran whoanem sex age
> mrunning whoanem age if ruse,adj(sex) ci yline(.3152 ) nopt
> xtitle("Age (years)") ///
> ylab(0 "0%" .1 "10%" .2 "20%" .3 "30%" .4 "40%" .5 "50%" .6
> "60%" .7 "70%"
> .8 "80%" .9 "90%" 1 "100%", ///
> angle(0)) title(The effect of age on anemia prevalence in RA) ///
> scheme(s2mono) clwidth(medthick) clpattern(solid dot dot) ///
> graph export ageprevanem.wmf,replace
> When I combined this graph with another using the following code:
> graph combine age.gph ageprevanem.gph, altshrink
> I noticed the graph from -mrunning was physically smaller,
> such that the
> two graphs from the immediately above command were not of
> equal size. I
> combined other graphs and was able to determine the problem was with
> -mrunning-. I wonder if Nick Cox might shed some light on this?
* For searches and help try: