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
Eaalogit: Attribute non-attendance within classesHello Statalist, I am trying to control for attribute non-attendance in a choice experiment. The ch…
Adding tests to regression resultHello! I am studying econometrics and I do not know how to add F/Wald Stat, within, between, overall…
Identifying closest date to another date variableHi, i have a table with announcement date (anndat) and statistical period which is counts as a forec…
Marginal effects for count data models from interval data: intcountHi, I am using intcount to estimate a count data model with interval data, i. e. the dependent vari…
closest date to another date variableHi, i have a table with announcement date (anndat) and statistical period which is counts as a forec…
Subscribe to:
Post Comments (Atom)
0 Response to Delete panel data observation if price i below certain threshold
Post a Comment