Hi,
I have panel data (symbols, daily returns) with 97 symbols to describe ETFs, and all of them have no relation.
I want to use loop for the next step, but have no idea how to generate a new variable (e.g., "id"=1,2,3...) to replace symbols.
I am very grateful for your help!
all the best,
yanyu
Related Posts with how to generate a new variable to describe "symbol"
New version of wridit on SSCThanks as always to Kit Baum, a new version of the wridit package is now available for download from…
bar graph from matrix with CI as error barsHi all, I am trying to figure out how to make bar graph out of a matrix. I know there have been many…
How do I run a Ttest in Stata when I have multiple groups but I only want to compare specific groups? (More Information Below)I am trying to do a basic Ttest. There 6 groups based on gender, race and ethnicity. I want to run a…
OR, IRR and multivariate analysisDear Listers I am working with a dataset much like the one you see here. Code: * Example generate…
Can I make a bivariate histogram for two indicator variables?Let's say I have two dummy variables like this. Code: set obs 100 gen A=runiformint(0,1) gen B=run…
Subscribe to:
Post Comments (Atom)
0 Response to how to generate a new variable to describe "symbol"
Post a Comment