Hi all,
I am a novice stata user...
Most of values of my dataset are stored as byte type.
The thing is, I wanted to change those values into numeric values,
for example ;
I wrote a command
replace m1ac2=1 if m1ac2=="Nam"
but it keeps saying invalid syntax
here my var named m1ac2 is stored as byte type...
How can I handle this issue...
Please give me some suggestions.
Many Thanks
Manny
I am a novice stata user...
Most of values of my dataset are stored as byte type.
The thing is, I wanted to change those values into numeric values,
for example ;
I wrote a command
replace m1ac2=1 if m1ac2=="Nam"
but it keeps saying invalid syntax
here my var named m1ac2 is stored as byte type...
How can I handle this issue...
Please give me some suggestions.
Many Thanks
Manny
Comment