Remarks and examples stata xtset declares the dataset in memory to be panel data. You need to do this before you can use the other xt commands. The storage types of both panelvar and timevar must be numeric, and both variables must contain integers only. Technical note In previous versions...
clear—used in cmset, clear—makes Stata forget that the data were ever cmset. This option is rarely used. Note that if you cmset your data as panel choice model data with an alternatives variable, they also become xtset. Typing cmset, clear does not clear the xt settings. To do ...