Dear community,
I would like to build a graph in order to display the knowledege about a specfic topic. The KAP Survey sample is about 150 subjects big and they respond to several questions on a questionnaire form.
All variables are Type str9 and Format %9s.
I would like to build a "scoring system" following these rules:
if subject "checked" one Variable, then score = "1"
if subject "checked" two Variables, then score = "2"
etc...
if subejct "checked" more than X variables, then score = "X+"
Below the output of variable 1
tab Variable 1
Variable 1 | Freq. Percent Cum.
------------+-----------------------------------
Checked | 126 84.00 84.00
Unchecked | 24 16.00 100.00
------------+-----------------------------------
Total | 150 100.00
I guess I will have to generate this "scoring variable" and then with the code "graph bar (count), by (scoring variable) asyvars blabel (bar)" generate the graph.
Thank you in advance for your help
Kind regards
Max
I would like to build a graph in order to display the knowledege about a specfic topic. The KAP Survey sample is about 150 subjects big and they respond to several questions on a questionnaire form.
All variables are Type str9 and Format %9s.
I would like to build a "scoring system" following these rules:
if subject "checked" one Variable, then score = "1"
if subject "checked" two Variables, then score = "2"
etc...
if subejct "checked" more than X variables, then score = "X+"
Below the output of variable 1
tab Variable 1
Variable 1 | Freq. Percent Cum.
------------+-----------------------------------
Checked | 126 84.00 84.00
Unchecked | 24 16.00 100.00
------------+-----------------------------------
Total | 150 100.00
I guess I will have to generate this "scoring variable" and then with the code "graph bar (count), by (scoring variable) asyvars blabel (bar)" generate the graph.
Thank you in advance for your help
Kind regards
Max
Comment