Announcement

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

  • Table of several t-test

    Hi,

    I'm trying to create a table from 18 separate ttest observations. I have the codes and values I need in the table. The t-tests run fine, but I don't get the right output in the table. Any tips? Added some lines of the code as an example of whatII have done and a picture of the output, with a red line of the output I need in a table.

    Code:
    ttest ATE_ethical_H== ATE_ethical_O, unpaired
    estimates store t13
    
    ttest ATE_Pimpact_H== ATE_Pimpact_O, unpaired
    estimates store t14
    
    ttest ATE_approve_H== ATE_approve_O, unpaired
    estimates store t15
    
    ttest ATE_reduce_H== ATE_reduce_O, unpaired
    estimates store t16
    
    ttest ATE_invest_H== ATE_invest_O, unpaired
    estimates store t17
    
    ttest ATE_Nimpact_H== ATE_Nimpact_O, unpaired
    estimates store t18
    
    
    
    esttab t13 t14 t15 t16 t17 t18 using ttest.rtf, replace
    Click image for larger version

Name:	Statalist.JPG
Views:	1
Size:	72.8 KB
ID:	1690797
    Last edited by Sandra Holte; 24 Nov 2022, 08:37.

  • #2
    add option -c("b t")-

    Comment

    Working...
    X