Thursday, February 23, 2006

RE: st: RE: panel ploter

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: owner-statalist@hsphsun2.harvard.edu >> >> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of >> >> irodriguez@utdt.edu >> >> Sent: Thursday, February 23, 2006 2:27 PM >> >> To: statalist@hsphsun2.harvard.edu >> >> 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 >> >> > n.j.cox@durham.ac.uk >> >> > >> >> > irodriguez@utdt.edu >> >> > >> >> >> 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/


Tag:


Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?