I have a panel dataset where the rows (panels) are local government areas and the columns are years. The outcome of interest is violent re-offending and the principal independent variable is amphetamine use. I want drop local government areas where the number of amphetamine users in any given year falls below (say) five. Can anyone advise how to do this?
Related Posts with Dropping panels with too few observations in some years
Roommates' max expenditure with parents' educationsDear All, I was asked this question here. The data set is Code: * Example generated by -dataex-. T…
Panel Data with same values/data for independent variables across multiple countriesI am analyzing the impact of US monetary policy variables on capital flows to emerging markets and i…
Expression builder dialogIs there any way to make the expression builder dialog larger? The lists are too small to be usable …
Combining local macros in StataI am trying to create a loop that copies specific files (which have a specific identifier at the end…
Python means no more calling RDBMSs to get the UTC offsetUpdated my -tslog.ado-. See log file attached. …
Subscribe to:
Post Comments (Atom)
0 Response to Dropping panels with too few observations in some years
Post a Comment