Hello everyone.
I have panel data collected in 4 years, at a 3-year interval. I have a dummy, for 1 if the desired characteristic (growing maize) is present, 0, otherwise. In my data, some households grew maize in some of the years and not all of the four years, some did not grow any maize at all, and some did in all the four years. I want to keep only those that grew at least once in the four years. Please help me with the command for this.
I have panel data collected in 4 years, at a 3-year interval. I have a dummy, for 1 if the desired characteristic (growing maize) is present, 0, otherwise. In my data, some households grew maize in some of the years and not all of the four years, some did not grow any maize at all, and some did in all the four years. I want to keep only those that grew at least once in the four years. Please help me with the command for this.
Comment