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"
running parmest on STATA 15Hi I was wondering if anyone could help me out a bit on the parmest command. I am using STATA 15 an…
How to use estat concordance in a validation sample Hi, I am trying to internally validate the Cox proportional hazard model. I have split data (70% on…
Model for Panel Data with time-variant DV and time-invariant IVsHello, My panel data is short (N>T) and I would like to regress 4 time invariant IV on 1 time va…
Three-dimensional surface plots of marginal predictions using PythonDear all, I just had access to the Stata 16.0 version and I am really excited because of it. It's ju…
Problem - Use 2 datasets in one do file (single run)Hi all ! I need help on stata I am trying to create one do file in Stata (mandatory) using 2 diff…
Subscribe to:
Post Comments (Atom)
0 Response to how to generate a new variable to describe "symbol"
Post a Comment