Dear All,
I have a program as follows:
program BSE_02052018
version 12
syntax, MAINdirectory(str)
.
.
.
I want to know how can I store the name BSE_02052018 in a local/global macro? I have similar programs which start with BSE_. I want to store the program names so as to use them within my programs. Another reason to do so is that I also want to extract the digits (02052018) and use them for analysis by removing BSE_ from the program name string.
Thanks,
Amit
Related Posts with Where is program_name stored?
Counting the number of groups in a permutation testI am trying to do a permutation test with yearly panel data. The treatment variable, "treat", has 7 …
Can we use fre command in Stata 16?I checked my ado/plus folder. Clearly, fre is already installed. But when I tried to use fre command…
variable HHID does not uniquely identify observations in the master dataHi! I am a beginner. I wanted to merge two datasets with a common HHID variable. I have tried the …
Fixed Effects ModelsI am not sure if this is the right venue for the question, but I'll give it a try. I am estimating t…
What are the requirements to make causal inference when using correlated random effects (CRE)?Hello all, I am now self-learning how to use the correlated random effects model from the IZA confe…
Subscribe to:
Post Comments (Atom)
0 Response to Where is program_name stored?
Post a Comment