I am trying to run a multinomial logit as y being the number of credit cards an individual has. I re coded the categories for the original data set for having 1-3 credit cards 4-8 and 9 or more. To create my y variable i
Code:
gen cc= credit13 + 2*credit48 + 3*credit9plus
This is was the cc variable looks like:

Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input float cc
0
1
1
3
1
3
1
1
2
2
1
1
2
1
0
1
0
1
1
2
2
2
1
2
1
0
I would only want 0 and 1. What command would give me that outcome instead? Thank you!