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
How to add "tailor made" error bars to a line graph.Dear beloved all, Recently I am working on how to draw a line graph like this: Array However, my …
Plotting Y1 and Y2 variable on a Time Series Line Plot Code: * Example generated by -dataex-. To install: ssc install dataex clear input double(prod op) …
ds vs display loopHello, Can anyone help me identify why: Code: foreach var of varlist `contvarlist' { …
Standardized mortality ratios following multiple imputationI'm honestly a bit unsure of the proper etiquite for estimating SMRs in an (multiple imputation) MI …
Mean of observations contained in other variableDear Forum, I have a variable, named "cbo02". I want to calculate the mean of the observations of th…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with excluding observations
Post a Comment