M

I have the past 10 years of data from a specific hospital and I have graphed the mortality curve by age separately for males and females. I can see that the one curve lies above the other so there seems to be a difference caused by gender but I want to have some sort of statistical value showing whether the difference is statistically significant.

I have p values showing that if I consider gender on it's own then this is significant (used a chi squared test I found online). But given that I'm also considering age, I want to check if gender still has a significant impact on mortality when I have already taken account of age.

Any help would be greatly appreciated!

Thanks so much.

Mary