I try to define a local list of strings, where some of the strings contain ampersands (&). Unfortunately, it seems the ampersand has unintendend consequences in this case. For example:
local firms "schauster & sons"
seems to define "schauster" and "sons" as seperate words instead of just one word. How can I avoid this?
Related Posts with Macros with strings and ampersands
exponential two-step hurdle model has significant coefficients but insignificant average marginal effects, why?Dear all, So I am currently running the following two-step hurdle regression, where outcome variabl…
Generating a variable depending on time variableHello, I am using Stata/SE 14.2 for Mac. I am working on my thesis that is about resistant bacteria…
format of numeric IDs for mergerHi, all, I have trouble with some IDs before (and after..) a merger. I want to 'mirror' and ID varia…
Can I run a xtologit on a 0.5-paced score as dependent variable?Hi everyone, I'm working on panel data with firm ID as panelvar and report_period as timevar. I've…
Difference in mediansHello, I am trying to calculate the median difference between two variables. I have read about the …
Subscribe to:
Post Comments (Atom)
0 Response to Macros with strings and ampersands
Post a Comment