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
0 Response to how to generate a new variable to describe "symbol"
Post a Comment