Hello
This is my first post, so please be kind to me.
I have 12 dichotomous variables, that i want to combine to one single variable, with the purpose of cross tabulating the variable with another variable. The problem is, that the respondents have been allowed to choose or not choose up to three of the variables in the battery. How do i do this?
I want the answer in syntax, please.
I hope you can help quickly
Related Posts with How to code variable correctly using syntax. Please help me
Scatterplot of dates?Hi All, I'm using STATA 15. My question is how do I convert and then format a datetime variable (c…
what a. means in a observation?Hello, I merged two databases and after that, some observations (cells) have a string "a." What does…
How to do a margin plot with variables with non integers?Hello, I am trying to do a margin plot with interacion terms, but when I run Code: margins ssr., a…
Improving forest plot appearanceHello, I was just looking for some advice on how to improve this (and other forest plot appearances…
repeated time values within panelDear statalisters, I am asking you for help because when I run Code: xtset firm year I receive a …
Subscribe to:
Post Comments (Atom)
0 Response to How to code variable correctly using syntax. Please help me
Post a Comment