Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Re: About cumul command


From   Jeetendra Aryal <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: RE: Re: About cumul command
Date   Sun, 10 May 2009 13:36:07 +0200

Dear Martin,
Thank you very much!
It is exactly what I was looking for.

regards,
Jeetendra Aryal

________________________________________
From: [email protected] [[email protected]] On Behalf Of Martin Weiss [[email protected]]
Sent: Sunday, May 10, 2009 9:46 AM
To: [email protected]
Subject: st: Re: About cumul command

sysuse citytemp, clear
cumul tempjan, gen(cjan)
cumul tempjuly, gen(cjuly)
stack cjan tempjan cjuly tempjuly, ///
into(c temp) wide clear

//first in blue, second in navy
twoway (line cjan temp, sort lcolor(blue)) ///
(line cjuly temp, sort lcolor(navy))

HTH
Martin
_______________
----- Original Message -----
From: "Jeetendra Aryal" <[email protected]>
To: <[email protected]>
Sent: Sunday, May 10, 2009 12:53 AM
Subject: st: About cumul command


> Dear,
>
> In order to compare if the cummulative distribution function of yield are
> different between two caste groups, I used the follwing command:
> -----------------------------
> cumul yield if caste==0, gen(highcaste)
> cumul yield if caste==1, gen(lowcaste)
> stack highcast yield lowcast yield, into(c productivity) wide clear
> line highcast lowcast productivity, sort ytitle("CDF")
> ---------------------------
>
> The command produced the desired result. BUT, I like to know if there is
> any way to change the color of the graph (or mark symbol) it produces
> because there are two CDFs. I tried to use option (mcolor), but it says
> that option is not allowed.
>
> Any help is highly appreciated.
>
> Warm regards,
> Jeetendra Aryal
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/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/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/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