Hey folks. Something weird happened to me. I have a dataset:
I run this code:
and the result returned this:
Have anyone experience this? I tried to restart STATA and the computer but nothing changed.
If it helps, following is the description of the dataset:
| bcode | bname | live99 | live00 | live01 | live02 | live03 | live04 | live05 | live06 | live07 | live08 | live09 | live10 | live11 | live12 | live13 | live14 | live15 | live16 | live17 |
| E09~ | London | 53 | 53 | 53 | 57 | 62 | 58 | . | . | . | . | . | . | . | . | . | . | . | . | . |
Code:
reshape long live, i(bcode bname) j(year)
| bcode | bname | year | live |
| E09000001 | London | 99 | 33 |
| E09000001 | London | 00 | 33 |
| E09000001 | London | 01 | 33 |
| E09000001 | London | 02 | 5966 |
| E09000001 | London | 03 | 33 |
| E09000001 | London | 04 | 33 |
| E09000001 | London | 05 | . |
| E09000001 | London | 06 | . |
| E09000001 | London | 07 | . |
| E09000001 | London | 08 | . |
| E09000001 | London | 09 | . |
| E09000001 | London | 10 | . |
| E09000001 | London | 11 | . |
| E09000001 | London | 12 | . |
| E09000001 | London | 13 | . |
| E09000001 | London | 14 | . |
| E09000001 | London | 15 | . |
| E09000001 | London | 17 | . |
If it helps, following is the description of the dataset:
Code:
Contains data
obs: 19
vars: 4
size: 703
--------------------------------------------------------------------------------------------------------------------
storage display value
variable name type format label variable label
--------------------------------------------------------------------------------------------------------------------
bcode str9 %9s
bname str22 %22s
year int %9.0g
live long %8.0g v57
--------------------------------------------------------------------------------------------------------------------
Sorted by: bcode bname year
Note: Dataset has changed since last saved.

Comment