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
confidence intervals in mixlogit user written commandHello Does any know whether confidence intervals in -mixlogit- are calculated via Krinsky and Robb o…
Insignificant Variables and CollinearityHello! I am having some troubles with a particular regression. I have data from the labour force su…
Duplicate DataHello, I'm trying to find a more concise/efficient way to identify duplicate data. It's not as stra…
Interpretation of margins after ProbitI am running a probit model of math proficiency (proficient or not) on education expenditure (rupees…
Interaction terms in fixed effects modelsHi Stata users! at the moment I am trying to model a change in life satisfaction over different bir…
Subscribe to:
Post Comments (Atom)
0 Response to displaying Odds Ratios and 95% Confidence Intervals in word using outreg
Post a Comment