Search results

  1. A

    replacing missing values for zeros in a loop

    Hello Stata experts, I am working in panel data with dyadic data and years. My data base is like the following: pair year fdi 1 2005 . 1 2006 . 1 2007 . 1 2008 . 1 2009 0 1 2010 0 1 2011 0 2 2005 . 2 2006 . 2 2007 . 2 2008 0 2 2009 0 2 2010 . 2 2011 . 3 2005 . 3 2006 . 3 2007 . 3 2008 2 3 2009 4...