1) I'm not sure how to create the treatment variable. Do I have to code "1" for municipalities/years with one or more universities and code "zero" for municipalities/years without universities?
2) What else do I need in my dataset to conduct the DID analysis?
Part of the data follows below.
Variables:
year
ibge_mun_code : municipality's ID
NOME_MUNICIPIO: municipality's name
n_he_inst : number of higher education institutions in a municipality
Thank you
Code:
* Example generated by -dataex-. For more info, type help dataex clear input double year long ibge_mun_code str33 NOME_MUNICIPIO float n_he_inst 2002 1507953 "TAILANDIA" 0 2006 1507953 "TAIL�NDIA" 0 2010 1507953 "TAIL�NDIA" 0 2014 1507953 "TAIL�NDIA" 0 2018 1507953 "TAIL�NDIA" 1 2002 1507961 "TERRA ALTA" 0 2006 1507961 "TERRA ALTA" 0 2010 1507961 "TERRA ALTA" 0 2014 1507961 "TERRA ALTA" 0 2018 1507961 "TERRA ALTA" 0 2002 1507979 "TERRA SANTA" 0 2006 1507979 "TERRA SANTA" 0 2010 1507979 "TERRA SANTA" 0 2014 1507979 "TERRA SANTA" 0 2018 1507979 "TERRA SANTA" 0 2002 1508001 "TOME ACU" 0 2006 1508001 "TOM�-A�U" 0 2010 1508001 "TOM�-A�U" 0 2014 1508001 "TOM�-A�U" 0 2018 1508001 "TOM�-A�U" 0 2002 1508035 "TRACUATEUA" 0 2006 1508035 "TRACUATEUA" 0 2010 1508035 "TRACUATEUA" 0 2014 1508035 "TRACUATEUA" 0 2018 1508035 "TRACUATEUA" 0 2002 1508050 "TRAIRAO" 0 2006 1508050 "TRAIR�O" 0 2010 1508050 "TRAIR�O" 0 2014 1508050 "TRAIR�O" 0 2018 1508050 "TRAIR�O" 0 2002 1508084 "TUCUMA" 0 2006 1508084 "TUCUM�" 0 2010 1508084 "TUCUM�" 0 2014 1508084 "TUCUM�" 0 2018 1508084 "TUCUM�" 0 2002 1508100 "TUCURUI" 1 2006 1508100 "TUCURU�" 1 2010 1508100 "TUCURU�" 1 2014 1508100 "TUCURU�" 1 2018 1508100 "TUCURU�" 2 2002 1508126 "ULIANOPOLIS" 0 2006 1508126 "ULIAN�POLIS" 0 2010 1508126 "ULIAN�POLIS" 0 2014 1508126 "ULIAN�POLIS" 0 2018 1508126 "ULIAN�POLIS" 0 2002 1508159 "URUARA" 0 2006 1508159 "URUAR�" 0 2010 1508159 "URUAR�" 0 2014 1508159 "URUAR�" 0 2018 1508159 "URUAR�" 0 2002 1508209 "VIGIA" 0 2006 1508209 "VIGIA" 0 2010 1508209 "VIGIA" 0 2014 1508209 "VIGIA" 0 2018 1508209 "VIGIA" 0 2002 1508308 "VIZEU" 0 2006 1508308 "VISEU" 0 2010 1508308 "VISEU" 0 2014 1508308 "VISEU" 0 2018 1508308 "VISEU" 0 2002 1508357 "VITORIA DO XINGU" 0 2006 1508357 "VIT�RIA DO XINGU" 0 2010 1508357 "VIT�RIA DO XINGU" 0 2014 1508357 "VIT�RIA DO XINGU" 0 2018 1508357 "VIT�RIA DO XINGU" 0 2002 1508407 "XINGUARA" 0 2006 1508407 "XINGUARA" 0 2010 1508407 "XINGUARA" 0 2014 1508407 "XINGUARA" 0 2018 1508407 "XINGUARA" 0 2002 1600055 "SERRA DO NAVIO" 0 2006 1600055 "SERRA DO NAVIO" 0 2010 1600055 "SERRA DO NAVIO" 0 2014 1600055 "SERRA DO NAVIO" 0 2018 1600055 "SERRA DO NAVIO" 0 2002 1600105 "AMAPA" 0 2006 1600105 "AMAP�" 0 2010 1600105 "AMAP�" 0 2014 1600105 "AMAP�" 0 2018 1600105 "AMAP�" 0 2002 1600154 "AMAPARI" 0 2006 1600154 "AMAPARI" 0 2010 1600154 "�GUA BRANCA DO AMAPARI" 0 2014 1600154 "PEDRA BRANCA DO AMAPARI" 0 2018 1600154 "PEDRA BRANCA DO AMAPARI" 0 2002 1600204 "CALCOENE" 0 2006 1600204 "CAL�OENE" 0 2010 1600204 "CAL�OENE" 0 2014 1600204 "CAL�OENE" 0 2018 1600204 "CAL�OENE" 0 2002 1600212 "CUTIAS" 0 2006 1600212 "CUTIAS" 0 2010 1600212 "CUTIAS" 0 2014 1600212 "CUTIAS" 0 2018 1600212 "CUTIAS" 0 2002 1600238 "FERREIRA GOMES" 0 2006 1600238 "FERREIRA GOMES" 0 2010 1600238 "FERREIRA GOMES" 0 2014 1600238 "FERREIRA GOMES" 0 2018 1600238 "FERREIRA GOMES" 0 2002 1600253 "ITAUBAL" 0 2006 1600253 "ITAUBAL" 0 2010 1600253 "ITAUBAL" 0 2014 1600253 "ITAUBAL" 0 2018 1600253 "ITAUBAL" 0 2002 1600279 "LARANJAL DO JARI" 0 2006 1600279 "LARANJAL DO JAR�" 0 2010 1600279 "LARANJAL DO JARI" 0 2014 1600279 "LARANJAL DO JARI" 0 2018 1600279 "LARANJAL DO JARI" 0 2002 1600303 "MACAPA" 6 2006 1600303 "MACAP�" 11 2010 1600303 "MACAP�" 14 2014 1600303 "MACAP�" 15 2018 1600303 "MACAP�" 14 2002 1600402 "MAZAGAO" 0 2006 1600402 "MAZAG�O" 0 2010 1600402 "MAZAG�O" 0 2014 1600402 "MAZAG�O" 0 2018 1600402 "MAZAG�O" 0 2002 1600501 "OIAPOQUE" 0 2006 1600501 "OIAPOQUE" 0 2010 1600501 "OIAPOQUE" 0 2014 1600501 "OIAPOQUE" 0 2018 1600501 "OIAPOQUE" 0 2002 1600535 "PORTO GRANDE" 0 2006 1600535 "PORTO GRANDE" 0 2010 1600535 "PORTO GRANDE" 0 2014 1600535 "PORTO GRANDE" 0 2018 1600535 "PORTO GRANDE" 0 2002 1600550 "PRACUUBA" 0 2006 1600550 "PRACU�BA" 0 2010 1600550 "PRACU�BA" 0 2014 1600550 "PRACU�BA" 0 2018 1600550 "PRACU�BA" 0 2002 1600600 "SANTANA" 0 2006 1600600 "SANTANA" 1 2010 1600600 "SANTANA" 1 2014 1600600 "SANTANA" 1 2018 1600600 "SANTANA" 1 2002 1600709 "TARTARUGALZINHO" 0 2006 1600709 "TARTARUGALZINHO" 0 2010 1600709 "TARTARUGALZINHO" 0 2014 1600709 "TARTARUGALZINHO" 0 2018 1600709 "TARTARUGALZINHO" 0 2002 1600808 "VITORIA DO JARI" 0 2006 1600808 "VIT�RIA DO JAR�" 0 2010 1600808 "VIT�RIA DO JARI" 0 2014 1600808 "VIT�RIA DO JARI" 0 2018 1600808 "VIT�RIA DO JARI" 0 2002 1700251 "ABREULANDIA" 0 2006 1700251 "ABREUL�NDIA" 0 2010 1700251 "ABREUL�NDIA" 0 2014 1700251 "ABREUL�NDIA" 0 2018 1700251 "ABREUL�NDIA" 0 2002 1700301 "AGUIARNOPOLIS" 0 2006 1700301 "AGUIARN�POLIS" 0 2010 1700301 "AGUIARN�POLIS" 0 2014 1700301 "AGUIARN�POLIS" 0 2018 1700301 "AGUIARN�POLIS" 0 2002 1700350 "ALIANCA DO TOCANTINS" 0 2006 1700350 "ALIAN�A DO TOCANTINS" 0 2010 1700350 "ALIAN�A DO TOCANTINS" 0 2014 1700350 "ALIAN�A DO TOCANTINS" 0 2018 1700350 "ALIAN�A DO TOCANTINS" 0 2002 1700400 "ALMAS" 0 2006 1700400 "ALMAS" 0 2010 1700400 "ALMAS" 0 2014 1700400 "ALMAS" 0 2018 1700400 "ALMAS" 0 2002 1700707 "ALVORADA" 0 2006 1700707 "ALVORADA" 0 2010 1700707 "ALVORADA" 0 2014 1700707 "ALVORADA" 0 2018 1700707 "ALVORADA" 0 2002 1701002 "ANANAS" 0 2006 1701002 "ANAN�S" 0 2010 1701002 "ANAN�S" 0 2014 1701002 "ANAN�S" 0 2018 1701002 "ANAN�S" 0 2002 1701051 "ANGICO" 0 2006 1701051 "ANGICO" 0 2010 1701051 "ANGICO" 0 2014 1701051 "ANGICO" 0 2018 1701051 "ANGICO" 0 2002 1701101 "APARECIDA DO RIO NEGRO" 0 2006 1701101 "APARECIDA DO RIO NEGRO" 0 2010 1701101 "APARECIDA DO RIO NEGRO" 0 2014 1701101 "APARECIDA DO RIO NEGRO" 0 2018 1701101 "APARECIDA DO RIO NEGRO" 0 2002 1701309 "ARAGOMINAS" 0 2006 1701309 "ARAGOMINAS" 0 2010 1701309 "ARAGOMINAS" 0 2014 1701309 "ARAGOMINAS" 0 2018 1701309 "ARAGOMINAS" 0 2002 1701903 "ARAGUACEMA" 0 2006 1701903 "ARAGUACEMA" 0 2010 1701903 "ARAGUACEMA" 0 2014 1701903 "ARAGUACEMA" 0 2018 1701903 "ARAGUACEMA" 0 2002 1702000 "ARAGUACU" 0 2006 1702000 "ARAGUA�U" 0 2010 1702000 "ARAGUA�U" 0 2014 1702000 "ARAGUA�U" 0 2018 1702000 "ARAGUA�U" 0 2002 1702109 "ARAGUAINA" 8 2006 1702109 "ARAGUA�NA" 12 2010 1702109 "ARAGUA�NA" 12 2014 1702109 "ARAGUA�NA" 3 2018 1702109 "ARAGUA�NA" 3 2002 1702158 "ARAGUANA" 0 2006 1702158 "ARAGUAN�" 0 2010 1702158 "ARAGUAN�" 0 2014 1702158 "ARAGUAN�" 0 2018 1702158 "ARAGUAN�" 0 2002 1702208 "ARAGUATINS" 0 2006 1702208 "ARAGUATINS" 1 2010 1702208 "ARAGUATINS" 1 2014 1702208 "ARAGUATINS" 1 2018 1702208 "ARAGUATINS" 1 2002 1702307 "ARAPOEMA" 0 2006 1702307 "ARAPOEMA" 0 2010 1702307 "ARAPOEMA" 0 2014 1702307 "ARAPOEMA" 0 2018 1702307 "ARAPOEMA" 0 2002 1702406 "ARRAIAS" 0 2006 1702406 "ARRAIAS" 0 2010 1702406 "ARRAIAS" 0 2014 1702406 "ARRAIAS" 0 2018 1702406 "ARRAIAS" 0 2002 1702554 "AUGUSTINOPOLIS" 0 2006 1702554 "AUGUSTIN�POLIS" 0 2010 1702554 "AUGUSTIN�POLIS" 0 2014 1702554 "AUGUSTIN�POLIS" 1 2018 1702554 "AUGUSTIN�POLIS" 1 2002 1702703 "AURORA DO TOCANTINS" 0 2006 1702703 "AURORA DO TOCANTINS" 0 2010 1702703 "AURORA DO TOCANTINS" 0 2014 1702703 "AURORA DO TOCANTINS" 0 2018 1702703 "AURORA DO TOCANTINS" 0 2002 1702901 "AXIXA DO TOCANTINS" 0 2006 1702901 "AXIX� DO TOCANTINS" 0 2010 1702901 "AXIX� DO TOCANTINS" 0 2014 1702901 "AXIX� DO TOCANTINS" 0 2018 1702901 "AXIX� DO TOCANTINS" 0 2002 1703008 "BABACULANDIA" 0 2006 1703008 "BABA�UL�NDIA" 0 2010 1703008 "BABA�UL�NDIA" 0 2014 1703008 "BABA�UL�NDIA" 0 2018 1703008 "BABA�UL�NDIA" 0 2002 1703057 "BANDEIRANTE DO TOCANTINS" 0 2006 1703057 "BANDEIRANTE DO TOCANTINS" 0 2010 1703057 "BANDEIRANTES DO TOCANTINS" 0 2014 1703057 "BANDEIRANTES DO TOCANTINS" 0 2018 1703057 "BANDEIRANTES DO TOCANTINS" 0 2002 1703073 "BARRA DO OURO" 0 2006 1703073 "BARRA DO OURO" 0 2010 1703073 "BARRA DO OURO" 0 2014 1703073 "BARRA DO OURO" 0 2018 1703073 "BARRA DO OURO" 0 2002 1703107 "BARROLANDIA" 0 2006 1703107 "BARROL�NDIA" 0 2010 1703107 "BARROL�NDIA" 0 2014 1703107 "BARROL�NDIA" 0 2018 1703107 "BARROL�NDIA" 0 2002 1703206 "BERNARDO SAYAO" 0 2006 1703206 "BERNARDO SAY�O" 0 2010 1703206 "BERNARDO SAY�O" 0 2014 1703206 "BERNARDO SAY�O" 0 2018 1703206 "BERNARDO SAY�O" 0 2002 1703305 "BOM JESUS DO TOCANTINS" 0 2006 1703305 "BOM JESUS DO TOCANTINS" 0 2010 1703305 "BOM JESUS DO TOCANTINS" 0 2014 1703305 "BOM JESUS DO TOCANTINS" 0 2018 1703305 "BOM JESUS DO TOCANTINS" 0 2002 1703602 "BRASILANDIA DO TOCANTINS" 0 2006 1703602 "BRASIL�NDIA DO TOCANTINS" 0 2010 1703602 "BRASIL�NDIA DO TOCANTINS" 0 2014 1703602 "BRASIL�NDIA DO TOCANTINS" 0 2018 1703602 "BRASIL�NDIA DO TOCANTINS" 0 2002 1703701 "BREJINHO DE NAZARE" 0 2006 1703701 "BREJINHO DE NAZAR�" 0 2010 1703701 "BREJINHO DE NAZAR�" 0 2014 1703701 "BREJINHO DE NAZAR�" 0 2018 1703701 "BREJINHO DE NAZAR�" 0 2002 1703800 "BURITI DO TOCANTINS" 0 2006 1703800 "BURITI DO TOCANTINS" 0 2010 1703800 "BURITI DO TOCANTINS" 0 2014 1703800 "BURITI DO TOCANTINS" 0 2018 1703800 "BURITI DO TOCANTINS" 0 2002 1703826 "CACHOEIRINHA" 0 2006 1703826 "CACHOEIRINHA" 0 2010 1703826 "CACHOEIRINHA" 0 2014 1703826 "CACHOEIRINHA" 0 2018 1703826 "CACHOEIRINHA" 0 2002 1703842 "CAMPOS LINDOS" 0 2006 1703842 "CAMPOS LINDOS" 0 2010 1703842 "CAMPOS LINDOS" 0 2014 1703842 "CAMPOS LINDOS" 0 2018 1703842 "CAMPOS LINDOS" 0 2002 1703867 "CARIRI DO TOCANTINS" 0 2006 1703867 "CARIRI DO TOCANTINS" 0 2010 1703867 "CARIRI DO TOCANTINS" 0 2014 1703867 "CARIRI DO TOCANTINS" 0 2018 1703867 "CARIRI DO TOCANTINS" 0 2002 1703883 "CARMOLANDIA" 0 2006 1703883 "CARMOL�NDIA" 0 2010 1703883 "CARMOL�NDIA" 0 2014 1703883 "CARMOL�NDIA" 0 2018 1703883 "CARMOL�NDIA" 0 2002 1703891 "CARRASCO BONITO" 0 2006 1703891 "CARRASCO BONITO" 0 2010 1703891 "CARRASCO BONITO" 0 2014 1703891 "CARRASCO BONITO" 0 2018 1703891 "CARRASCO BONITO" 0 2002 1703909 "CASEARA" 0 2006 1703909 "CASEARA" 0 2010 1703909 "CASEARA" 0 2014 1703909 "CASEARA" 0 2018 1703909 "CASEARA" 0 2002 1704105 "CENTENARIO" 0 2006 1704105 "CENTEN�RIO" 0 2010 1704105 "CENTEN�RIO" 0 2014 1704105 "CENTEN�RIO" 0 2018 1704105 "CENTEN�RIO" 0 2002 1704600 "CHAPADA DE AREIA" 0 2006 1704600 "CHAPADA DE AREIA" 0 2010 1704600 "CHAPADA DE AREIA" 0 2014 1704600 "CHAPADA DE AREIA" 0 2018 1704600 "CHAPADA DE AREIA" 0 2002 1705102 "CHAPADA DA NATIVIDADE" 0 2006 1705102 "CHAPADA DA NATIVIDADE" 0 2010 1705102 "CHAPADA DA NATIVIDADE" 0 2014 1705102 "CHAPADA DA NATIVIDADE" 0 2018 1705102 "CHAPADA DA NATIVIDADE" 0 2002 1705508 "COLINAS DO TOCANTINS" 1 2006 1705508 "COLINAS DO TOCANTINS" 1 2010 1705508 "COLINAS DO TOCANTINS" 1 2014 1705508 "COLINAS DO TOCANTINS" 1 2018 1705508 "COLINAS DO TOCANTINS" 1 2002 1705557 "COMBINADO" 0 2006 1705557 "COMBINADO" 0 2010 1705557 "COMBINADO" 0 2014 1705557 "COMBINADO" 0 2018 1705557 "COMBINADO" 0 2002 1705607 "CONCEICAO DO TOCANTINS" 0 2006 1705607 "CONCEI��O DO TOCANTINS" 0 2010 1705607 "CONCEI��O DO TOCANTINS" 0 2014 1705607 "CONCEI��O DO TOCANTINS" 0 2018 1705607 "CONCEI��O DO TOCANTINS" 0 2002 1706001 "COUTO DE MAGALHAES" 0 2006 1706001 "COUTO DE MAGALH�ES" 0 2010 1706001 "COUTO DE MAGALH�ES" 0 2014 1706001 "COUTO MAGALH�ES" 0 2018 1706001 "COUTO MAGALH�ES" 0 2002 1706100 "CRISTALANDIA" 0 2006 1706100 "CRISTAL�NDIA" 0 2010 1706100 "CRISTAL�NDIA" 0 2014 1706100 "CRISTAL�NDIA" 0 2018 1706100 "CRISTAL�NDIA" 0 2002 1706258 "CRIXAS DO TOCANTINS" 0 2006 1706258 "CRIX�S DO TOCANTINS" 0 2010 1706258 "CRIX�S DO TOCANTINS" 0 2014 1706258 "CRIX�S DO TOCANTINS" 0 2018 1706258 "CRIX�S DO TOCANTINS" 0 2002 1706506 "DARCINOPOLIS" 0 2006 1706506 "DARCIN�POLIS" 0 2010 1706506 "DARCIN�POLIS" 0 2014 1706506 "DARCIN�POLIS" 0 2018 1706506 "DARCIN�POLIS" 0 2002 1707009 "DIANOPOLIS" 0 2006 1707009 "DIAN�POLIS" 0 2010 1707009 "DIAN�POLIS" 1 2014 1707009 "DIAN�POLIS" 1 2018 1707009 "DIAN�POLIS" 0 2002 1707108 "DIVINOPOLIS DO TOCANTINS" 0 2006 1707108 "DIVIN�POLIS DO TOCANTINS" 0 2010 1707108 "DIVIN�POLIS DO TOCANTINS" 0 2014 1707108 "DIVIN�POLIS DO TOCANTINS" 0 2018 1707108 "DIVIN�POLIS DO TOCANTINS" 0 2002 1707207 "DOIS IRMAOS DO TOCANTINS" 0 2006 1707207 "DOIS IRM�OS DO TOCANTINS" 0 2010 1707207 "DOIS IRM�OS DO TOCANTINS" 0 2014 1707207 "DOIS IRM�OS DO TOCANTINS" 0 2018 1707207 "DOIS IRM�OS DO TOCANTINS" 0 2002 1707306 "DUERE" 0 2006 1707306 "DUER�" 0 2010 1707306 "DUER�" 0 2014 1707306 "DUER�" 0 2018 1707306 "DUER�" 0 2002 1707405 "ESPERANTINA" 0 2006 1707405 "ESPERANTINA" 0 2010 1707405 "ESPERANTINA" 0 2014 1707405 "ESPERANTINA" 0 2018 1707405 "ESPERANTINA" 0 2002 1707553 "FATIMA" 0 2006 1707553 "F�TIMA" 0 2010 1707553 "F�TIMA" 0 2014 1707553 "F�TIMA" 0 2018 1707553 "F�TIMA" 0 2002 1707652 "FIGUEIROPOLIS" 0 2006 1707652 "FIGUEIR�POLIS" 0 2010 1707652 "FIGUEIR�POLIS" 0 2014 1707652 "FIGUEIR�POLIS" 0 2018 1707652 "FIGUEIR�POLIS" 0 2002 1707702 "FILADELFIA" 0 2006 1707702 "FILAD�LFIA" 0 2010 1707702 "FILAD�LFIA" 0 2014 1707702 "FILAD�LFIA" 0 2018 1707702 "FILAD�LFIA" 0 2002 1708205 "FORMOSO DO ARAGUAIA" 0 2006 1708205 "FORMOSO DO ARAGUAIA" 0 2010 1708205 "FORMOSO DO ARAGUAIA" 0 2014 1708205 "FORMOSO DO ARAGUAIA" 0 2018 1708205 "FORMOSO DO ARAGUAIA" 0 2002 1708254 "FORTALEZA DO TABOCAO" 0 2006 1708254 "FORTALEZA DO TABOC�O" 0 2010 1708254 "FORTALEZA DO TABOC�O" 0 2014 1708254 "FORTALEZA DO TABOC�O" 0 2018 1708254 "FORTALEZA DO TABOC�O" 0 2002 1708304 "GOIANORTE" 0 2006 1708304 "GOIANORTE" 0 2010 1708304 "GOIANORTE" 0 2014 1708304 "GOIANORTE" 0 2018 1708304 "GOIANORTE" 0 2002 1709005 "GOIATINS" 0 2006 1709005 "GOIATINS" 0 2010 1709005 "GOIATINS" 0 2014 1709005 "GOIATINS" 0 2018 1709005 "GOIATINS" 0 2002 1709302 "GUARAI" 1 2006 1709302 "GUARA�" 1 2010 1709302 "GUARA�" 1 2014 1709302 "GUARA�" 1 2018 1709302 "GUARA�" 1 2002 1709500 "GURUPI" 1 2006 1709500 "GURUPI" 1 2010 1709500 "GURUPI" 1 2014 1709500 "GURUPI" 1 2018 1709500 "GURUPI" 1 2002 1709807 "IPUEIRAS" 0 2006 1709807 "IPUEIRAS" 0 2010 1709807 "IPUEIRAS" 0 2014 1709807 "IPUEIRAS" 0 2018 1709807 "IPUEIRAS" 0 2002 1710508 "ITACAJA" 0 2006 1710508 "ITACAJ�" 0 2010 1710508 "ITACAJ�" 0 2014 1710508 "ITACAJ�" 0 2018 1710508 "ITACAJ�" 0 end
0 Response to Creating a treatment for DID analysis: how to do it the right?
Post a Comment