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
logistic regression: outcome does not varyMy research topic is about child mortality and risk factors, including education, age, child with fu…
"Starting values invalid" message when using nlsur commandsDear Stata users, I am trying nlsur command using function evaluator program to estimate coefficien…
How to see the frequency of a veriables in each country in a dataset ?By the helps from others, I see that I can list the unique countries from a sample by using\ tab GE…
Why the number of observation decrease when I increase the sample size?Hi all, Today I face a strange situation that the number of observations shrinking when I expand th…
Test constraint droppedDear Statalist: *First, I run the following Modified Pearson Regression with interactions glm k6ca…
Subscribe to:
Post Comments (Atom)
0 Response to How to code variable correctly using syntax. Please help me
Post a Comment