I am working with WRDS data, dates in one coluumn, companies in another and returns in another. I want to drop a company if the return in the last month (December 2018 being the last) is missing and if the returns in 25 of the previous 60 months are also missing . Would appreciate if someone could help with the code for doing so. Thank You.
Related Posts with Data Count & Delete
reshape a large household surveyHi statalister, I would like to reshape "long" a large dataset of 8000 households in which every ho…
error for displaying a large numberHello, To merge, I needed to make a specific identifier for each row. As you can see below, for eac…
How to generate a dummy variable in the dataset as attached in this post?I want to generate a dummy variable. When the name for the position of "GS" is the same for the posi…
Pseudo out-of-sample forecast using loopsHello, I have tried running a code given to me to predict a pseudo out-of-sample forecast using a lo…
Data type/precision -import dbf-I'd like advice on double vs. float precision on some data values obtained via import of a dbf file.…
Subscribe to:
Post Comments (Atom)
0 Response to Data Count & Delete
Post a Comment