Hi All
I am rather new to Stata and have encountered some difficulty in generating a word documents with both odds ratios and 95% confidence intervals using the following chunk of code:
outreg, clear
foreach r in $health {
svy,subpop(include): logistic `r' $xvars if bentype1==1
outreg, merge varlabels bdec(2) tdec(2) blankrows ctitle("" "`r'")
}
outreg using "$output\T3. Multivariate Analysis-HEW_PW1.doc", or stats(e_ci) replay replace store(table1) bdec(2) tdec(2) hlstyle(s;d;;s) ///
When I place the "or, stats(e_b e_ci) command in the loop: the 3300 error code arises. When I place it in the following line of code using the document, there is no output of CI in the word document. The health global is a series of health related outcome variables. The xvars globals is a set of independent household variables.
Any help is much appreciated.. I'm happy to provide additional information if needed.
Related Posts with displaying Odds Ratios and 95% Confidence Intervals in word using outreg
VAR(1) estimation- errors for each observation in the panel dataDear Stata users, I have estimated the VAR(1) model of the form: zt+1=a + Γzt+ ut+1 Where zt+1 is m…
Suppress repeated cat axis when using -graph bar, by()-What is the easiest general way to suppress a repeated category axis when using -graph bar, by()-? I…
ivregress 2sls not endogenous in original modelHello, Perhaps this is too obvious of a question, but when running the 2sls command on my model I g…
[FMM] Estimating centiles/graphing density of a single observationDear Statalisters, I want to estimate centiles for a single observation after using a finite mixtur…
Difference between sampsi, pre() and power repeatedDear Statalist, I'm wishing to calculate a sample size based on the comparison of means between two…
Subscribe to:
Post Comments (Atom)
0 Response to displaying Odds Ratios and 95% Confidence Intervals in word using outreg
Post a Comment