Bookmark and Share

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: Automating coefficient plots.


From   andreas nordset <[email protected]>
To   [email protected]
Subject   st: Automating coefficient plots.
Date   Sun, 21 Nov 2010 09:53:19 -0800

Dear Listers,

I am studying the pattern of income for households around unemployment
spell starts.

The dataset is a balanced panel of households from 1995-2007, and I
use households that are first time hit by unemployment in years
1999-2003. That allows me to track them 4 years prior to, and 4 years
after unemployment incident. In the analysis I generate a variable
called "relative_year", that tells me how far away from the
unemployment spell start the observation is.
E.g. relative_year == 3, means we observe the household in year 3
after unemployment spell start.

I want to plot the average income development from relative_year -4 to
relative_year +4, net of calendar year fixed effects

So far I have done this by running the following:
reg income relative_year-dummies calendar-year-dummies
, then exporting the results to excel where i plot the
relative_year-dummies plus the constant to get the plot.

Is there a way to automate this procedure?
I have looked into the -cmogram- command (by Christopher Robert),
which almost does what I want, except it plots the residual values and
Im also not able to net out the calendar year fixed effects.

Best regards,
Andreas
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index