Statalist


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

st: Generating trend on dummies


From   Seema Bhatia <ler02sb@reading.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   st: Generating trend on dummies
Date   Wed, 12 Sep 2007 12:00:21 +0100

Hi there

I have fitted a panel Random Effects model for my data over 20 years. I have 
4 dummies within the model in which I would like to see the change over the 
20 years.

My model is a bit like this
bilateral 
trade=constant+gdpimp+gdpexp+popimp+popexp+contiguity+distance+com+com_1+sadc+sadc_1+error

All except the gdps population and distance are dummy variables that take 
the value of zero or 1 depending on the whether they belong to a regional 
trade agreement or not

I would like to see how the dummies com, com_1, sadc and sadc_1 have evolved 
over the 20 year period and plot them. I am told that the within equation 
can be used to generate yearly coefficients this. Any ideas on how I can use 
the within estimator to generate yearly coefficients on each of these 
dummies?

Any help will be much appreciated

Many thanks for your kind consideration

Seema


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index