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
Using stsplitI'm trying to fit a model with covariates sex, age, totchol and allow for smoking status to change a…
Font sizeDear All, Is there any way to control the font size that is applied when the translate command is a…
Advantage of using fixed-effects in addition to an instrumental variable approach?Hi, Considering one has panel data and an endogenous regressor (correlated with the time-varying er…
Not finding a local?Dear All, I am trying to estimate an event study to evaluate the effect of 5 different policies - Y…
Bounds Test InterpretationHello Everyone, I am performing the Pesaran, Shin, and Smith (2001) bounds test using Code: estat …
Subscribe to:
Post Comments (Atom)
0 Response to Replacing observations with charachters
Post a Comment