Hello, everyone!
I am fairly new to Stata and I am trying to work out how to exclude some oberservations from my data set. My data set contains around 80000 observations of U.S. banks in quarterly date format between 2013 and 2015. The first quarter is the first of 2013 and the last the fourth of 2015. I want to exclude all banks that do not have observations for all the 12 quarters. I know that Stata can handle unbalanced data but I would still like to do it. I guess I do it with the drop command but I do not know how.
Many thanks in advance,
Marie
Related Posts with Problem with excluding observations
Fixed-effect level: Is student AND evaluator fixed-effect still correct?Hey, I have the following stylized example. Code: * Example generated by -dataex-. To install: s…
Logit non-linear regressionHi, I have a non-linear model and wish to use logit command. Is the command the same for linear mod…
Creating Lead variables with respect to month (1, 3, 6) when I have daily datahello. I'm working on the U.S. stock market. I have entire stock market data ( thousands of stocks).…
Translating do file to pdfI am using the following command: translate 4th_Assignmnet.do 4th_Assignmnet.pdf and get: transla…
Create an index for countriesI have a dataset of 105 countries and want to create an index variable but forgot the command for it…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with excluding observations
Post a Comment