Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exporting t-test results for testing differences in means to LaTeX

    Code:
    ttest IR1 == IR5
    How can I export the results of this test into LaTeX? I am aware of the espost command. But from what I understand, estpost can be used only for doing t-tests on grouped variables. However, in my case I want to do the ttest on 2 different variables i.e. IR1 and IR5.



  • #2
    Assuming your t-test is paired, you can do a one-sample t-test on the difference like this: https://stats.stackexchange.com/a/597418/7071.

    Comment


    • #3
      See #5 in https://www.statalist.org/forums/for...to-sum-command

      Comment

      Working...
      X