Statalist


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

st: Re: AW: dummies


From   Seema Bhatia <[email protected]>
To   [email protected]
Subject   st: Re: AW: dummies
Date   Tue, 22 Jan 2008 13:24:13 -0000

Hi Martin

My data is in a panel and is organised by country pair (dyadic). it looks a 
bit like this:

biltrade    tid      cid   importer   exporter     gdpimp       gdpexp 
popimp   popexp   dist             etc
.000288  2003  1     ANG        BWA     10767.67   5795.94     4.619 
1.771      2223.578
.021651 1992   2     ANG        BDI        8023.988   847.43      10.852 
5.795     1878.576

I want to generate cids (country pair id) dummies and use them as control 
factors. I have 650 such cids which i would like to include in my 
regression.

Also, if I wanted to create a separate dataset with the same data but 
instead of country pair id dummies, I would like to have separate dummies 
for importer and exporter, how can I do this?

Many thanks for your help

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