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
Error Code (199)Hello Everyone, I'm Kousay, and I'm conducting research on the impact of the pandemic on the firm fi…
Fitting Large, Multidimensional Tables to a Word DocumentHi all - hoping folks can help me manage a large multi-dimensional table that I need to output to a …
How to Save a File After a String ValueHello. This should be rather easy for folks here, but I am stymied. I have a rather simple dataset;…
Preparing Panel Data with repeated time values within panel (xtset)Hey everyone, I am working with survey data (PSID) and am currently facing some difficulties regardi…
how to loop with tab2xl?I tried to use tab2xl in a loop to generate sheets faster, but after running the code there's no fil…
Subscribe to:
Post Comments (Atom)
0 Response to Delete panel data observation if price i below certain threshold
Post a Comment