Dear Stata Users,
I am trying to create a dummy variable for the number of times a country has graduated from using IDA financing. The way countries graduate is if they have GNI per capita above the operating cut-off for the IDA. This various year to year.
I want to create a dummy variable for number of times a country has achieved a GNI per capita above the operating cut-off for a specific year, For example Benin in 1996 did not have a GNI per capita large enough to graduate from using IDA financing. However my code provides me with the very different results
The current code I'm using is gen IDAcrossing= .
replace IDAcrossing=1 if GNI per capita>= x & year== 1996.000
However, I keep getting the wrong results does anyone have any suggestions?
Kind Regards
Farai
I am trying to create a dummy variable for the number of times a country has graduated from using IDA financing. The way countries graduate is if they have GNI per capita above the operating cut-off for the IDA. This various year to year.
I want to create a dummy variable for number of times a country has achieved a GNI per capita above the operating cut-off for a specific year, For example Benin in 1996 did not have a GNI per capita large enough to graduate from using IDA financing. However my code provides me with the very different results
The current code I'm using is gen IDAcrossing= .
replace IDAcrossing=1 if GNI per capita>= x & year== 1996.000
However, I keep getting the wrong results does anyone have any suggestions?
Kind Regards
Farai

Comment