I have a variable that captures actual household address, say, "76 Longstreet Albertville Gauteng". I want to generate another variable (string) that captures the province that the household is located in this case Gauteng. The text is case variaed (i.e. there are caps and lower cases for the address).
Related Posts with How to extract a word from a string variable.
how to calculate the formula Euclidean distance as the picture,many thanks!How to calculate the formula Euclidean distance as the picture,many thanks! clear input double(year …
RE: interaction of marginal effects in logit modelsHi! In logit models, I am interested in estimating the slope of a tangent line. According to Hanush…
Preacher Hayes Process Model 4 for Panel data codeHello, I am trying to check the mediation effect of firm innovation on the relationship between Chie…
word command in stataWhat does word command do? Can anyone explain it with example? …
Coefficient InterpretationHi, I am a bit confused with coefficient interpretation. Y = b0 + b1X + e I know that if Y is 0-1…
Subscribe to:
Post Comments (Atom)
0 Response to How to extract a word from a string variable.
Post a Comment