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
Converting SPSS file with 2540 variables and 222539 observations into STATA 15 MPHello All, I am struggling with the conversion of SPSS 25 data file to STATA 15, MP version. I have…
Random Effect help needed... Dears, Kindly find my output of the random effect model after determining it by Hausman test. Iam …
Save intercept for each firm and dateDear all, I hope somebody can help me out on this. I am doing an fixed effects regression on pane…
how to write condition for calculating spells?Hi. I have a dataset with the revenues of firms through time, monthly. For example: Code: date …
Error estimating treatment effects synth-runnerHello all, Thanks in advance for your help with this request. I am attempting to run models using th…
Subscribe to:
Post Comments (Atom)
0 Response to Dropping panels with too few observations in some years
Post a Comment