Barbara Eberth
> I am trying to merge two datasets but the variable by which
> I am merging
> appears in one of the datasets as long format and as double
> format in
> the other dataset. Ideally I would like to have these
> variables in long
> format. Any idea on how to change from double to long format?
This is a matter of data types, not format sensu Stata.
. recast long myvar
It will squawk if there are fractional parts.
Nick
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/