hello, i have mental health survey data and i would like to graph prevalence (as percent of persons affected) of ptsd and psychosis by agecategory (1 to 6). i would also like error bars or 95% CIs.
i have been looking at the bar graph command which returns bars that are 100% i presume these are the non missing which is not what i want.
can someone assist?
thanks
i have been looking at the bar graph command which returns bars that are 100% i presume these are the non missing which is not what i want.
can someone assist?
thanks
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float(PTSD Psychosis agecat) 0 0 5 0 0 2 0 0 3 0 0 2 1 0 2 0 0 5 0 0 5 0 0 2 0 0 3 0 0 4 0 0 1 0 0 1 0 0 4 1 0 1 1 0 2 0 0 3 0 0 5 1 0 1 0 0 6 0 0 6 0 0 4 0 0 3 0 0 3 0 0 2 0 0 2 0 0 6 0 0 5 1 0 5 1 0 1 0 0 5 0 0 6 0 0 2 0 1 1 0 0 2 0 0 1 0 0 2 0 0 2 0 0 3 0 0 1 0 0 6 0 0 2 0 0 1 0 0 6 0 0 2 0 0 4 0 0 2 0 0 1 0 0 6 0 0 1 0 0 3 0 0 4 0 0 2 0 0 1 0 0 2 0 0 1 0 0 4 0 0 2 0 0 1 0 0 3 0 0 4 0 0 1 0 0 1 0 0 5 0 0 1 1 0 5 0 0 6 0 0 6 0 0 6 0 0 4 0 0 1 0 0 2 0 0 2 0 0 4 0 0 1 0 0 1 0 0 3 0 0 2 1 0 3 0 0 4 0 0 5 0 0 2 0 0 3 0 0 3 0 0 4 0 0 1 1 0 2 0 0 2 1 0 2 0 0 4 0 0 4 0 0 1 0 0 1 0 0 5 0 0 3 0 0 2 0 0 3 0 0 2 0 0 1 0 0 1 1 0 5 end
Comment