I am using the following command:
gen Cou_Code_O=. in 1/26
replace Cou_Code_O = "ARG" in 1
and get this warning:
ARG not found
It is a bit strange since you can replace observations in Stata with characters.
Am I missing something or it is just Stata 14 that didn't allow this command?
Related Posts with Replacing observations with charachters
Intercept in latent profile analysisDear Stata users. I have a question, maybe more related to the theory so please tell me if I am off-…
multi-step data imputation and merging datasetsHi Statalisters, I am looking for assistance with an analysis project where I would like to multipl…
log transformationAs i am not a statistician i have a naive question. i have 50 dependent variables that i want to reg…
Problem to replicate anova with mvreg Dear Stata listers I'm a little confused. I want to calculate a manova with imputed data (mi e…
Looping over observationHi, I want to run one-sample test of proportion using following data and save p-val for each obs. pr…
Subscribe to:
Post Comments (Atom)
0 Response to Replacing observations with charachters
Post a Comment