When Export[_n]==1 & Export[_n-1]==0, generate Starter=1 and Non-exporter=0 in the previous year.
| Year | Firm | Export | Export_Starter(Desired dummy) | 
| 2010 | 1 | 0 | 0 | 
| 2011 | 1 | 0 | . | 
| 2012 | 1 | 0 | . | 
| 2010 | 2 | 0 | 1 | 
| 2011 | 2 | 1 | . | 
| 2012 | 2 | 0 | . | 
| 2010 | 3 | 1 | . | 
| 2011 | 3 | 1 | . | 
| 2012 | 3 | 1 | . | 
| 2010 | 4 | 0 | 0 | 
| 2011 | 4 | 1 | . | 
| 2012 | 4 | 1 | . | 
0 Response to Dummy for export-starters and non-exporters in the period just before the export-starter enters the export market
Post a Comment