Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: Plotting Relative Densities and Location and Shape effect


From   Juan Francisco Martinez Rojas <jfmartinezr@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Plotting Relative Densities and Location and Shape effect
Date   Thu, 25 Mar 2010 12:45:43 -0500

Statalist

I have an industrial panel and these are the commands that I use to graph kernel densities 
 
kdensity lprodrealn, nograph generate(x fx)
kdensity lprodrealn if year==1997, nograph generate(fx0) at(x)
kdensity lprodrealn if year==2006, nograph generate(fx1) at(x)
label var fx0 "1997"
label var fx1 "2006"
line fx0 fx1 x, sort ytitle(Density)

Now, I don't know how to graph the relative density (1997 as a reference period) 
and also how to decompose it into location and shape effects. (I am a Stata 10 user)
 
Many thanks for the advice

Juan Martinez
 		 	   		  
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index