Hi all, I am currently doing research, so I will use a sample example from this link to ask my question: https://blog.uvm.edu/tbplante/2019/0...ith-table1_mc/
I am using Stata/SE 17.0.
The syntax is as follows:
table1_mc, by(myexposure) ///
vars( ///
age contn %4.0f \ ///
sex0m1f bin %4.0f \ ///
race0w1b bin %4.0f \ ///
region123 cat %4.0f \ ///
educ1234 cat %4.0f \ ///
income1234 cat %4.0f \ ///
sbp contn %4.0f \ ///
dbp contn %4.0f \ ///
smoke7_ideal bin %4.0f \ ///
pa7_ideal bin %4.0f \ ///
diet7_ideal bin %4.0f \ ///
chol7_ideal bin %4.0f \ ///
fpg7_ideal bin %4.0f \ ///
bmi7_ideal bin %4.0f \ ///
bp7_ideal bin %4.0f \ ///
) ///
nospace percent onecol missing total(before) ///
saving("table 1.xlsx", replace)
Question: I have no problem using this syntax and saving this into an excel sheet. However, I am having trouble taking that Table 1 output from the table1_mc command, and being able to directly export the output into my pdf report (putpdf series of commands). Does anyone have any advice on how to fix this or how to make it work?
Thank you in advance!
Related Posts with Trouble Exporting a Table 1 Into a PDF Directly From Stata Commands
Selection Correction Term "selmlog" commandDear Community, It is my first post here and I hope I am following all the rules. I am currently u…
Computation of densities for exemplary observations with Finite Mixture Model (FMM) and Quantil Regression (QR)Dear Statalist, I want to use a Finite Mixture Model (4 Gaussian's) and a Quantile Regression to co…
Fixed effect and reverse causalityHi Statalist, i am analyzing a dataset of performance for Footballplayers and How a transfer affect…
Tobit regression with collinearityMy dependent variable is expenditure share for wine on trade. When i run the regression, however "t…
SARAR model: interpretationDear All, I estimate a model like the following spatial model (SARAR): y=rho*Wy+beta*X+u u=psi*u+e…
Subscribe to:
Post Comments (Atom)
0 Response to Trouble Exporting a Table 1 Into a PDF Directly From Stata Commands
Post a Comment