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
help with t tests and summary statisticsI suspect I am asking something quite simple, however after reviewing the ttest help file I am still…
using quaids command for two demand equations?Hi stata users, Quite some time ago I've modelled a two-good demand system (water expenditure // eve…
Help with merging variablesHi, i have 3 variables concerning migrationsbackground: born in country (yes or no), mother born in …
country-fixed effects, country-specific time trends and time-fixed effects in a panel VARDear all, greetings, I am facing a similar problem with a panel VAR model. I want to add country-fix…
Bootstrapping with 2 samplesHi there, I'm not an expert STATA user, so I hope to get some help in this forum. Here is my set up…
Subscribe to:
Post Comments (Atom)
0 Response to How to combine char(40) and a string
Post a Comment