I have a standard error saved in a local variable `se'. For instance, the s.e. is .89. I want it to be (0.89) saved in another local variable. Then I can export it using outreg2. But probably because "(" is a special character, I haven't figured out a way to do so.
I tried to generate "(0" and save it in a local variable, but I failed.
I tried:
1)
local bb=char(40) +"0"
disp `bb'
2)
local bb="(" +"0"
disp `bb'
They gave me the same error:
"too few ')' or ']'"
I wondered how to fix this. Thanks!
Related Posts with How to combine char(40) and a string
Using robust standard errors or clustered standard errors in iv estimation (ivreg2) Hello guys, I have the following problem and I would appreciate any help: So Im analyzing the rel…
Appropriate model for researchHi there. Firstly,as it is my first ever post, i want to thank everyone for the valuable information…
Finding and dropping variables with duplicate labelsHi, my dataset has some variables with duplicate labels. Is there a way to make a list of such varia…
string variable managementGood afternoon, I would like to create a categorical variable from a string variable composed by sev…
Difference-in-difference robustness (all control variables interact with #post)Dear sir/madam, I found a paper where the authors use a difference-in-difference approach and as a …
Subscribe to:
Post Comments (Atom)
0 Response to How to combine char(40) and a string
Post a Comment