Hello everybody,
I would like to reproduce the table below (just the "All cities" column). It come from an article but I have some trouble to figure out what code I should write because of the fixed effects and the random effect as explained below the table. If someone could help me figure it out, I would be very thankful.
You can find the database on this link, in the "Additional Data" section
http://www.cgeh.nl/urbanisation-hub-...izes-1500-2000
The database is not completed, so it is required to add some variables.
Thank you very much for your time and your help !
Maxim Dechamps
I would like to reproduce the table below (just the "All cities" column). It come from an article but I have some trouble to figure out what code I should write because of the fixed effects and the random effect as explained below the table. If someone could help me figure it out, I would be very thankful.
You can find the database on this link, in the "Additional Data" section
http://www.cgeh.nl/urbanisation-hub-...izes-1500-2000
The database is not completed, so it is required to add some variables.
/*Christian Holy Cities*/
gen christian_holy_city=0
replace christian_holy_city=1 if indicator ==337 /*Roma*/
replace christian_holy_city=1 if indicator ==613 /*Jerusalem*/
replace christian_holy_city=1 if indicator ==598 /*Constantinople*/
replace christian_holy_city=1 if indicator ==500 /*Compostelle*/
/*Gen ln*/
gen lnUPm = ln(musfup)
gen lnUPc = ln(chrfup)
gen lnPOP10 = ln(citypop_le10)
gen lnrome = ln( drome)
gen lnmecca = ln(dmecca)
gen lnbyzantium= ln( dbyzantium)
gen lnelevation=ln( elevation_m)
gen lnrugg10 = ln( rugg10)
gen christian_holy_city=0
replace christian_holy_city=1 if indicator ==337 /*Roma*/
replace christian_holy_city=1 if indicator ==613 /*Jerusalem*/
replace christian_holy_city=1 if indicator ==598 /*Constantinople*/
replace christian_holy_city=1 if indicator ==500 /*Compostelle*/
/*Gen ln*/
gen lnUPm = ln(musfup)
gen lnUPc = ln(chrfup)
gen lnPOP10 = ln(citypop_le10)
gen lnrome = ln( drome)
gen lnmecca = ln(dmecca)
gen lnbyzantium= ln( dbyzantium)
gen lnelevation=ln( elevation_m)
gen lnrugg10 = ln( rugg10)
Thank you very much for your time and your help !
Maxim Dechamps
Comment