I have a survey data where participants were allowed to choose multiple responses for a single variable.
For example, which one is your most trusted source for COVID-19 related information? (click all that apply)
I have created one binary variables for each options with "yes" and "no" responses. So, instead of one variable multiple response variable I now have 5 binary variables. My question is: Is there a way to create a multiple response variable in SAS (like SPSS)? I was able to create a frequency table but how do I make this multiple response variable/ 5 binary variables eligible to be put into a regression analysis?
Welcome to the Community!
Here is a very good explanation of how to perform regression with categorical predictors:
"Multiple response" and "most trusted" do not belong in the same question. MOST implies a single answer.
The question should have been phrased as a "which sources do you trust". Please do not analyze this question and report any topic as "most" as you haven't enough information to tell unless you have additional information that contained a rank element for the selections.
What type of regression do want? This relates to the specific research question(s) you want answered.
Regression? What are the x-variables (sometimes called independent variables)? What is the y-variable (sometimes called the dependent variable)?
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.