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
How to do pca for a group of variables?From my understanding, pca is a method to suppress a couple of variables to one variable standing fo…
How do I make a code in my do-file that reads through all sheets in my Excel data set, picks the value from (e.g.) cell A1 and adds them up?Hello, The case is that I have an Excel-file that have multiple sheets. The sheets have similar cel…
How to know whether laws affect dependent variables and paralell trend being satisfied following Chaisemartin and D'Haultfoeuille ?I am using a package called Code: did_multiplegt to run following Chaisemartin and D'Haultfoeuille …
Storing Coefficients of Dummy VariablesHello, Using _b, I have no problem to access the coefficients of contrinuous vairables in a regressi…
How to know whether the paralell trend assumption is satisfied by using the method of Borusyak, (2021) in DiD ?Hi all, I am following the method of Borusyak, (2021) by running the Code: did_imputation package. …
Subscribe to:
Post Comments (Atom)
0 Response to Data Count & Delete
Post a Comment