For my table - I did a Kruskall-Wallis analysis to determine the association between a continuous variable (not normally distributed) and a tertile variable. For my graph, I would like to show this association. However, I would also like to stratify by gender and would like a p-value for males and a p-value for females. How can I do this? I tried using the logistic command and it didn't work. I also tried dropping the females and doing the kwallis on just males, and then doing it on females only. But that didn't work either.
Also, how can you get a superscript in STATA?
Thank you.