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.
Related Posts with New to STATA: separating numeric value variable
Marginal effect after system GMM continuous variables penal dataHi experts and researchers, I am using interactive terms in my research and I need to understand ho…
How do I create a new variable for all levels of a variable when a certain condition is satisfied?Hi there, I am new to STATA and I am currently struggling to find a solution for what I would say i…
Twoway graph constant scalesDear all, I am trying to figure out how to ensure that a 45-degree line is also visually a 45-degre…
Help with multilevel survival analysisI am currently conducting a study that follows patients over 30 days to see if they have an event. P…
Deleting some observations within a variable when conditions are metHi everyone, I have a datasets which looks like this: Code: * Example generated by -dataex-. For …
Subscribe to:
Post Comments (Atom)
0 Response to New to STATA: separating numeric value variable
Post a Comment