0

I just recently discovered gtsummary and I'm impressed by the ease of use and the amount of work that our team won't have to do creating summary tables of our results. Thanks!

My question: With more than two groups, the p-value included with add_p() refers to the global test. How can I obtain the information about the post hoc comparaisons between groups? In some journals, we see the use of superscripted letters.

I looked for the add_difference() option but it prints the difference between two groups. I also thought that add_q() would help me.

Thanks in advance!

2 Answers2

0

There is no built-in function for pairwise differences, but this post illustrates how to incorporate them How to calculate SMD between 3 groups or more?

Daniel D. Sjoberg
  • 8,820
  • 2
  • 12
  • 28
0

I have tried to summarize the what, how and why (not) about the "Compact Letter Display" you are talking about in this chapter: https://schmidtpaul.github.io/dsfair_quarto/summaryarticles/compactletterdisplay.html

Does that help?

Paul Schmidt
  • 1,072
  • 10
  • 23
  • This is interesting, but I'm looking for a way to easily integrate the compact letters in a summary table. – Tchuvak Nov 12 '22 at 02:39