rowid variable:group
egen rowid = concat(state year)
reshape long cand, i(rowid) j(candnr)
generate rowid = state + string(year)
@freq 3, 3, 3, 3, 3 @values "MA2002", "MA2003", "MA2005", "TX2001", "TX2005" @type str6 @label @class category @N_unique 5 @N 15