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"
PSmatch2Using psmatch2 How to do 2:1 nearest neighbour. How to keep only matched cases. The option: keep if …
macros in variable nameshi, suppose i have a variables named x1 x2 x3 ....x2000 and had set the following local macro and …
equality of regression coefficientsI am currently attempting to estimate the relationship between writing improvement (Y) and feedback …
R Loop To get Survey Weighted Counts Code: input person status group angle weight 1 2 3 30 152 2 3 2 29 176 3 2 6 20 146 4 3 6 30 194 5…
Fama MacBeth 2nd StageHello: I am a relatively new user of Stata. I have calculated the firm Betas for the first stage o…
Subscribe to:
Post Comments (Atom)
0 Response to how to generate a new variable to describe "symbol"
Post a Comment