Suppose "address" is string and "year" is floating number.
I would like to create something like region_time=="address"&"year".
For example,
address: abc
year: 1980
region_time: abc1980
How do I do this in Stata16?
Related Posts with How to create a variable concatenating two variables
is it possible to create a new variable with otherwise/else function?Hi All, I am trying t create a new variable that defines Car owned status of a person. What I want i…
Merge: variable does not uniquely identify observations in the master dataHi everyone, I have a data with a variable household ID that does not uniquely identify observation…
keeping soundex started with a specific letterI have a dataset and want to keep a number of variables - Soundex started with a letter, for example…
Marginal effects of interaction between continuous and factor variables in fixed effects modelsHello. How may I test the marginal effects of my variables when there is a continuous-factor-interac…
"Subtracting" one string variable from another string variableI'm cleaning up a government dataset that I need some help on. For the sake of simplicity, let's say…
Subscribe to:
Post Comments (Atom)
0 Response to How to create a variable concatenating two variables
Post a Comment