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
WRDS / IBES - Get the right data into STATAHello, forgive me for the seemingly stupid question but this is my first empirical research and my …
Different colors for two groups of bars in a bar chartDear all, I am trying to make a bar chart that shows mean value of a variable (attitudes toward immi…
table checking balance across covariates for two groups.Hi all, I am trying to create a small table where I test if covariates are balanced across two grou…
Interpreting coefficients when there are dummy variables presentHi, I had a question about interpreting coefficients on Stata. I have a continuous variable, call i…
cmp command for rank-ordered probit modelDear all, I am running a rank-ordered probit model using the cmp command. The dependent variable is…
Subscribe to:
Post Comments (Atom)
0 Response to Data Count & Delete
Post a Comment