Hello Statalist,
Please forgive me if this is a stupid question; I am new to Stata. I am working with a dataset that has one variable listing the names of businesses and another listing the names of the towns in which the businesses are established. I want to test the business names for whether or not they contain the name of their respective towns. For example, if the name of the business is "Corinth Lumber Co." and the business is in Corinth, I want that to come back positive. Furthermore, I would like to create a binary variable on the same dataset to house the results, with 1 for positive and 0 for negative. Any advice for how I would go about doing this? I really don't know where to start.
Related Posts with Testing to see if the value of categorical variable x for string m contains the value of variable y for string m.
Margins expression option not working, or am I doing something wrong?Hi, I am trying to obtain some simple slopes in exponentiated form for the effect of a continuous va…
Interpretation of coefficients Fixed effect regHi, I just need some help with the interpretation of the coefficients of panel fixed effects regres…
Combine multiple graphs within one graphHi All, I need to run multiple analyses where I keep adding more covariates to the model. I want to …
How to Interpret Coeficient as a Result of Structural Coeficient ModelHi, Previously, I asked about my model using SEM in Stata. I already run the data and i got this res…
Graphing several variables over multiple discrete categoriesHi, I'm graphing the value of 3 variables in several scenarios as displayed below. Each of these sce…
Subscribe to:
Post Comments (Atom)
0 Response to Testing to see if the value of categorical variable x for string m contains the value of variable y for string m.
Post a Comment