Hello,
Could someone please help me dropping some observations? I'm investigating the influence of patenting on the return on investment of firms. Now I want to drop the companies that never had a patent between variable fyear (fiscal year) 1997-2015 (see the example company in the screenshot). But I want to keep them if they had a patent in this time period. So, also if they only have 1 patent in that time period, I want to keep them in my dataset. I'm struggling to find the right code so could someone please help me?
Thanks!Array
Related Posts with dropping observations if variable is zero between time period
2 Different Fixed Effects with many dummy variablesHi Everyone, I am trying to estimate the following model: Y_ijt = alpha + Beta1*X1 + Beta2*X2 + Be…
xtreg default estimator?Hello, This may be a rookie question, but if I run the xtreg without specifying an fe, re, be, or pa…
Regression commands for Panel dataHi everyone, I'm trying to estimate this panel data model with the equation below: Array αi is a c…
Multicollinearity issue between individual-specific variables in the conditional logit modelsHi! I'm currently analyzing survey data (916 respondents in total) using the -asclogit- or -cmclogi…
marginal effect graphs after using GMM for continuous variablesWith due respect I want to make two ways marginal graph to find marginal effect at different percent…
Subscribe to:
Post Comments (Atom)
0 Response to dropping observations if variable is zero between time period
Post a Comment