Hello, I am trying to figure out the frequency of respondents who selected each answer choice. Using SAS 9.4. There were 10 answer choices to my question. This question is a "select all you can apply" question. However, when I run my code, I get very small percentages. Here's my code: If find (Why_did_not_get_HPV_vaccine, "1") then Q185_1=1; else Q185_1=0;
If find (Why_did_not_get_HPV_vaccine, "2") then Q185_2=1; else Q185_2=0;
If find (Why_did_not_get_HPV_vaccine, "3") then Q185_3=1; else Q185_3=0;
If find (Why_did_not_get_HPV_vaccine, "4") then Q185_4=1; else Q185_4=0;
If find (Why_did_not_get_HPV_vaccine, "5") then Q185_5=1; else Q185_5=0;
If find (Why_did_not_get_HPV_vaccine, "6") then Q185_6=1; else Q185_6=0;
If find (Why_did_not_get_HPV_vaccine, "7") then Q185_7=1; else Q185_7=0;
If find (Why_did_not_get_HPV_vaccine, "8") then Q185_8=1; else Q185_8=0;
If find (Why_did_not_get_HPV_vaccine, "9") then Q185_9=1; else Q185_9=0;
If find (Why_did_not_get_HPV_vaccine, "10") then Q185_10=1; else Q185_10=0;
run; Here are a portion of my results (the rest got cutoff in screenshot). As you can see, each answer has an extremely small percentage, which doesn't make sense. How would you recommend I change my coding so that I capture everyone who selected each answer choice?
... View more