Hello,

I am very new to STATA and am trying to learn by myself. However, I am stuck at this point:

How can I split a numeric variable 'marstat'. It's label is current marital status - It's components are never married, widowed, etc. and I want to generate a new variable that only consists of 'never married'. Any help or guidance is appreciated.

Thank you in advance.