Hi community, I'm training a credit scoring model (classification) and I'd like to include a pattern variable that consist of characters from the set {0, 1 | 9} where 9 represents the absence of a behavior.

My question is, which statistical techniques or procedures can I use to archive adequately incorporate that new variable in my model?

Thanks a lot!

ID NEW VAR
1231 111101011110
1232 991110111011
1233 110010101101
1234 990001111111