esttab using "$path\Table1.csv", ///
eform ///
cells("b(fmt(3)) ci(fmt(3) par) p(fmt(2))")
/// star(* 0.1 ** 0.05 *** 0.01)
/// drop(_cons)
/// nonotes nomtitles nogaps
/// replace
/// collabels("Odds Ratio (95% CI)" "p-value")
/// compress
I want to export a table where I want to report the odds ratios (estimated coefficients from a logistic regression) and with those odds ratios I want the confidence interval in the same column in brackets. For example, say coefficient (CI). then in another column I want the p-values. p values should be given to two significant figures, unless p<0ยท0001.
So, basically I want.. Variable EstimatedCoeffciient (CI) p-value
I used the above code, although things are getting generated but it is essentially not in the right format.
Can any one help me with that?
Also, how to drop the reference categories for the binary variables?
eform ///
cells("b(fmt(3)) ci(fmt(3) par) p(fmt(2))")
/// star(* 0.1 ** 0.05 *** 0.01)
/// drop(_cons)
/// nonotes nomtitles nogaps
/// replace
/// collabels("Odds Ratio (95% CI)" "p-value")
/// compress
I want to export a table where I want to report the odds ratios (estimated coefficients from a logistic regression) and with those odds ratios I want the confidence interval in the same column in brackets. For example, say coefficient (CI). then in another column I want the p-values. p values should be given to two significant figures, unless p<0ยท0001.
So, basically I want.. Variable EstimatedCoeffciient (CI) p-value
I used the above code, although things are getting generated but it is essentially not in the right format.
Can any one help me with that?
Also, how to drop the reference categories for the binary variables?
Comment