Statalist


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

st: AW: Re: AW: dummies


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: Re: AW: dummies
Date   Tue, 22 Jan 2008 15:01:26 +0100

egen countrypair=group(importer exporter) gives you dummies for the pairs
formed by importer and exporter...

Martin Weiss
_________________________________________________________________

Diplom-Kaufmann Martin Weiss
Mohlstrasse 36
Room 415
72074 Tuebingen
Germany

Fon: 0049-7071-2978184

Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130

Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131

SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945


-----Urspr�ngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Seema Bhatia
Gesendet: Dienstag, 22. Januar 2008 14:24
An: [email protected]
Betreff: st: Re: AW: dummies

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/


*
*   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