Own a bike? Brand of bike?
Person 1 1 1
Person 2 2 3
Person 3. 1 2
Person 4. 2 3
Person 5 1 2
Person 6. 2 3
Own a car
1 = Yes
2 = No
0 = NA
Brand of bike
1 = Brand A
2 = Brand B
3 = NA
I want to find out of the people who own bike (so 1’s), how many own Brand A (i.e. the 1s). What should I input on Stata?

Comment