Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[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 <[email protected]>
To
<[email protected]>
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/