I need to check at least one datapoint has been entered for all my N within a varlist.....could someone please help me?
It is for this egen: egen anypreschool = anymatch (kk144c kk145c kk146c kk143c kk142c kk141c kk140c kk139c kk138c kk135c kk134c kk130c kk131c kk132c kk133c kk137c kc010 ke060 kg100 kk010 kk136c kc090 ke080 kg120 kk070 kc050 ke070 kg110 kk040), value(1)
So how to do I write another egen giving me the N for value = 1 for at least one of the varlist?
It is for this egen: egen anypreschool = anymatch (kk144c kk145c kk146c kk143c kk142c kk141c kk140c kk139c kk138c kk135c kk134c kk130c kk131c kk132c kk133c kk137c kc010 ke060 kg100 kk010 kk136c kc090 ke080 kg120 kk070 kc050 ke070 kg110 kk040), value(1)
So how to do I write another egen giving me the N for value = 1 for at least one of the varlist?