Hi,
I'm working with a panel data set that consists of daily stock prices. I would like to create a dummy variable that is equal to 1 if the price of that specific stock was below 1 USD on any day within the last year. Finally, I want to delete that stock from my data set.
Could anyone help me with this?
Thanks in advance!
Peter
Related Posts with Delete panel data observation if price i below certain threshold
xtivreg commandDear Stata community, I have run the 2SLS panel data, random effects model in stata. Is there any w…
Respahe to wide?Dear StataList-ers! I have the following dataset, focused on sexually-transmitted disease in USA (s…
Fixed Effects RegressionI have a regression model and I have to investigate the effect in different cases (with/without time…
Mixed frequency in panal data Hello sir, in my panel data dependent variable is monthly excess return but independent variables …
Changing Label Code in LabelHey everyone, I have received a data set where the sender incorrectly assigned the wrong codes for …
Subscribe to:
Post Comments (Atom)
0 Response to Delete panel data observation if price i below certain threshold
Post a Comment