chart bar with prportion of a variable inside a group

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

nofar
Posts: 1
Joined: Wed Jun 08, 2016 5:22 pm

chart bar with prportion of a variable inside a group

Postby nofar » Wed Jun 08, 2016 5:47 pm

Hello everyone, looking for help

lets say i have one variable: triage (1, 2, 3, 4, 5)
and another variable: decision (hospalitized-1, not hospalitized-0)
I wish to create a chart bar where the y exis represents proportion (percentage) of people hospalitized within each group. x axis represents the triage (each bar is a triage level).

for example: if im looking at triage level 1, and i see the bar reaches 70%, it means that 70% of all the people who were defined as level 1 in the triage where hospalitized.

help anyone?






Who is online

Users browsing this forum: No registered users and 2 guests

cron