Statalist The Stata Listserver


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

RE: st: RE: panel ploter


From   <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: panel ploter
Date   Thu, 23 Feb 2006 17:28:01 -0300 (ART)

I`m going to try that
I have a time dimension but in the graph i don`t want to use it
thanks sorry about my english

>> In my last mail I wanted to say that i think that there no
>> time variables
>>
>> I run that command but each country apear many times
>
> This suggests that you have several observations for each country (but
> then it is hard to believe that your dataset does nto have a time
> dimension).
>
> Since you're only interested in the average growth rate and the initial
> value of gdp, you only need one observation per country.
>
> Assuming that x and y are indeed time-invariant, you can try the
> following:
>
> bysort country: gen obsindex = _n
> twoway scatter y x, mlabel(country) || lfit y x, if obsindex == 1
>
> If x and y are not time-invariant, you may want to look at collapse and
> egen if you haven't already done so.
>
> Jean Salvati
>
>> >> -----Original Message-----
>> >> From: [email protected]
>> >> [mailto:[email protected]] On Behalf Of
>> >> [email protected]
>> >> Sent: Thursday, February 23, 2006 2:27 PM
>> >> To: [email protected]
>> >> Subject: Re: st: RE: panel ploter
>> >>
>> >> I think that any variable is time: One variable, x, is GDP initial
>> value and y is the average growth rate of GDP. I would like to see
>> graphically their relation (with a line if it`s possible)
>> where each
>> >> point in the plot is one country Thanks
>> >>
>> >> > And why wasn't that what you wanted?
>> >> >
>> >> > Is one of these variables time or not?
>> >> >
>> >> > Nick
>> >> > [email protected]
>> >> >
>> >> > [email protected]
>> >> >
>> >> >> From a panel dataset (20 countries, 1960-2000) I need a
>> >> plot where in
>> >> >> axisx is one vble, in axis y the other, and the points are the
>> >> countries I don`t know how to do it, someone could hepl me?
>> >> >> I`ve tried:
>> >> >> graph twoway scatter y x, msymbol(o)
>> >> >
>> >> > *
>> >> > *   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/
>> >>
>> >>
>> >>
>> >> *
>> >> *   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/
>> >>
>> >
>> > *
>> > *   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/
>>
>>
>>
>> *
>> *   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/
>>
>
> *
> *   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/



*
*   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