Hi Statalist,
I have a database of a lot of companies for 7 years: 01-2013 to 01-2019. However, in order to calculate certain variables, I first need to be sure the data of every company starts in 01-2013. And the data for some companies start in 2015 for example. Could you please tell me the code to drop all companies that do not start on 01-2013?
Sidenote: I know deleting all companies that don't make it till the end would cause survivorship-bias, but deleting all funds of which there is no data at the beginning of the period will not do any harm right?
Thank you in advance.
Best regards,
Tom Reinders
Related Posts with Dropping all companies with no observation at the start of the time period
Stata word in LatexDear all, I was wondering if there is Latex package to add nice-looking Stata names into a document…
Error message "VCE is not positive definite" while performing the multiple imputationDear Stata users, I am performing the following MI code, HTML Code: mi impute chained (logit, aug…
ppml_panel_sg and PPML have different predict valueahello, I am using ppml_panel_sg to reg trade on some gravity variables and rta, finding that ppml_pa…
Analysis of survey rounds: OLS or logit?Hello community! I am conducing a research on UK public attitudes towards immigration. For my data I…
Two fixed effects regressions using two different subsamples of same dataset.Hi all, I have a question regarding comparing coefficients of two regressions (fe) which are subsam…
Subscribe to:
Post Comments (Atom)
0 Response to Dropping all companies with no observation at the start of the time period
Post a Comment