[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: variable format
> 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.
* For searches and help try: