Dear all
This following question might be of trivial nature, but i've resorted to ask the question here as I simply cannot find the answer elsewere - and I am, admittedly, under time pressure. Should it have been debated here on the forum previously - my apologies. My frustration is somehow big, as I am sure there is a easy solution.
As my title indicates I am currently working with panel data. My first time doing so. I have data on individual households having been interviewed once a month over a year.
Now, each month they've answered whether they've received tax rebate payments or not, and whether they are experiencing constraints on their credit.
I want to figure out how many households (the var "id" is an identifier for individual households) have experienced constraints or received payments during the 12 months.
In other words, I am not interested in how many individual times the constraint-dummy is 1, but only wish to count each household once. For example, the household with id-number 5 (see picture) experienced constraints in both November and December, but i'm looking for a command to do descriptive statistics that would only count that household once. The same is the case for tax rebates - I'm interested in the number of individual households who have received such, not the amount of times it been received in total.
Kind regards
This following question might be of trivial nature, but i've resorted to ask the question here as I simply cannot find the answer elsewere - and I am, admittedly, under time pressure. Should it have been debated here on the forum previously - my apologies. My frustration is somehow big, as I am sure there is a easy solution.
As my title indicates I am currently working with panel data. My first time doing so. I have data on individual households having been interviewed once a month over a year.
Now, each month they've answered whether they've received tax rebate payments or not, and whether they are experiencing constraints on their credit.
I want to figure out how many households (the var "id" is an identifier for individual households) have experienced constraints or received payments during the 12 months.
In other words, I am not interested in how many individual times the constraint-dummy is 1, but only wish to count each household once. For example, the household with id-number 5 (see picture) experienced constraints in both November and December, but i'm looking for a command to do descriptive statistics that would only count that household once. The same is the case for tax rebates - I'm interested in the number of individual households who have received such, not the amount of times it been received in total.
Kind regards
Comment