I was using labmask successfull yesterday, but today Stata SE 17 decides it does not recognize the same code. Here is an example that generates "command labmask is unrecognized" Any ideas?
clear
input y str2 state
11 CA
23 NV
9 WA
14 OR
sort y
gen state_n = _n
labmask state_n, values(state)
clear
input y str2 state
11 CA
23 NV
9 WA
14 OR
sort y
gen state_n = _n
labmask state_n, values(state)
Comment