Hi all,
I have made some tables to compare characteristics after running a propensity score model in STATA 13.1 as below:
_d is a variable created when stsetting, time5 is my 'time to death' variable from survival analysis, and n represents the number of subjects in each group.
In STATA 17, 'contents' (the little c in the above line of code) is not allowed and the code won't run. I was wondering if anyone would happen to know how to write code in STATA 17 so I could produce tables as I have in STATA 13.1 using the above code?
Many thanks, Oliver
I have made some tables to compare characteristics after running a propensity score model in STATA 13.1 as below:
Code:
*table binary variable if _weight==1, c(n time5 sum time5 sum _d) row
In STATA 17, 'contents' (the little c in the above line of code) is not allowed and the code won't run. I was wondering if anyone would happen to know how to write code in STATA 17 so I could produce tables as I have in STATA 13.1 using the above code?
Many thanks, Oliver
Comment