asdocx: Export from Stata to Word, Excel, LaTeX & HTML Forums asdocx Forum Template Table1 Notreatment Option Not Working (And Adding Median/IQR) Reply To: Template Table1 Notreatment Option Not Working (And Adding Median/IQR)

Kevin Blaine
Participant
Post count: 45

Hi Dr. Shah — it looks like continuous variables aren’t being reported when notr is invoked. Here’s the output:


asdocx tab age, template(table1) replace notr save("/Users/default/Downloads/Table")


  here
   
                               Table 1: Demographics
  0 |1                                            2                             3                 4               5 
----+----------------------------------------------------------------------------------------------------------------------------------------
  1 |Variables                             0 (n=37)                      1 (n=37)        Total (74)         P-value 
----+----------------------------------------------------------------------------------------------------------------------------------------
  2 |Age                           24.086 (± 6.247)              24.194 (± 6.210)                                   
---------------------------------------------------------------------------------------------------------------------------------------------P-values by t-test for continuous variables and Chi2 test for binary/categorical variables. 
  


  here
   
                               Table 1: Demographics
  0 |1                                                  2 
----+-----------------------------------------------------------------------------
  1 |Variables                                 Total (74) 
----+-----------------------------------------------------------------------------
  2 |Age                                                  
----------------------------------------------------------------------------------
P-values by t-test for continuous variables and Chi2 test for binary/categorical variables.