I have two variables in Stata, both numeric variables that have somehow been recorded as string variables. I need them converted to numeric variables so that I can generate a new variable with them.
When I tried, it said type mismatch
I have tried the real
and the encode
commands, none of which are working.
real()
is a function in Stata, not a command. – Leviathan