The following (artificial) data record the length of stay (in days) spent on a psychiatric ward for 28 consecutive patients who have been sectioned under the mental health act, classified according to their gender:
Male: 96 113 195 22 56 155 30 50 29 38 25 79 34
Female: 39 71 17 9 35 6 57 10 18 65 35 21 32 28 16
Estimate the median length of stay, giving an approximate 95% confidence interval, for males and females separately.
Carry out a test to determine if there is a significant difference between males and females with regards to the median time spent on a psychiatric ward after being sectioned.
Estimate the probability that a randomly chosen male patient will stay longer than a randomly chosen female patient.