Hello,
probably there is a very simple solution to my problem. I am still stuck...
I have panel data and want to count all the groups that satisfy a certain condition, i.e. a dummy variable ==1. All my groups have a varying number of observations (some have only 3, some have 6, and so on). The dummy variable is time-invariant / does not change over time and remains the same value per group. I would like to know how many individual groups have dummy var == 1 and how many var == 0. Please help me out here, thank you!
probably there is a very simple solution to my problem. I am still stuck...
I have panel data and want to count all the groups that satisfy a certain condition, i.e. a dummy variable ==1. All my groups have a varying number of observations (some have only 3, some have 6, and so on). The dummy variable is time-invariant / does not change over time and remains the same value per group. I would like to know how many individual groups have dummy var == 1 and how many var == 0. Please help me out here, thank you!
Comment