title: How do I add coefficients, SE, confidence intervals, and odds ratios in stargazer table?
body: <p>A previous user asked <a href="https://stackoverflow.com/questions/19576356/how-do-i-add-confidence-intervals-to-odds-ratios-in-stargazer-table">How do I add confidence intervals to odds ratios in stargazer table?</a> and outlined a clear solution to the problem. </p>
  
  <p>Currently, I am typing out my tables by hand and that is very time consuming.
  <a href="https://i.stack.imgur.com/rqTiX.png" rel="nofollow noreferrer">example of my typed out table</a>. Here is a <a href="https://dx.doi.org/10.6084/m9.figshare.4244147.v1" rel="nofollow noreferrer">link</a> to the .txt file used.</p>
  
  <p>My model has size as a dependent variable (categorical) and sex (categorical), age (continuous), and year (continuous) as independent variables. I am using <code>mlogit</code> to model the relationship between variables.</p>
  
  <p>The code I used for the model is as follows:</p>
  
  <pre><code>tattoo &lt;- read.table("https://ndownloader.figshare.com/files/6920972", 
                        header=TRUE, na.strings=c("unk", "NA"))    
  
  library(mlogit)
  
  Tat&lt;-mlogit.data(tattoo, varying=NULL, shape="wide", choice="size", id.var="date")
  
  ml.Tat&lt;-mlogit(size~1|age+sex+yy, Tat, reflevel="small", id.var="date")
  
  library(stargazer)
  
  OR.vector&lt;-exp(ml.Tat$coef)
  CI.vector&lt;-exp(confint(ml.Tat))
  p.values&lt;-summary(ml.Tat)$CoefTable[,4]
  
  #table with odds ratios and confidence intervals
  stargazer(ml.Tat, coef=list(OR.vector), ci=TRUE, ci.custom=list(CI.vector), single.row=T, type="text", star.cutoffs=c(0.05,0.01,0.001), out="table1.txt", digits=4)
  
  #table with coefficients and standard errors
  stargazer(ml.Tat, type="text", single.row=TRUE, star.cutoffs=c(0.05,0.01,0.001), out="table1.txt", digits=4) 
  </code></pre>
  
  <p>The <code>stargazer</code> code I have tried is shown below for a small part of my data:</p>
  
  <pre><code>library(stargazer)
  OR.vector&lt;-exp(ml.Tat$coef)
  CI.vector&lt;-exp(confint(ml.Tat))
  p.values&lt;-summary(ml.Tat)$CoefTable[,4] #incorrect # of dimensions, unsure how to determine dimensions
  stargazer(ml.Tat, coef=list(OR.vector), ci=TRUE, ci.custom=list(CI.vector), single.row=T, type="text", star.cutoffs=c(0.05,0.01,0.001), out="table1.txt", digits=4) #gives odds ratio (2.5%CI, 97.5%CI)
  </code></pre>
  
  <p>Odds ratio and confidence interval output:
  <a href="https://i.stack.imgur.com/u638G.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u638G.png" alt="odds and CI"></a></p>
  
  <pre><code>stargazer(ml.Tat, type="text", single.row=TRUE, star.cutoffs=c(0.05,0.01,0.001), out="table1.txt", digits=4) #gives coeff (SE)`
  </code></pre>
  
  <p>Coefficient and SE output:
  <a href="https://i.stack.imgur.com/ipeok.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ipeok.png" alt="coeff and SE output"></a></p>
  
  <p>I can combine odds ratios with confidence intervals or standard errors or coefficients with confidence intervals and standard errors, but when I write all three together the <code>ci=TRUE</code> function seems to overwrite the SE default.</p>
  
  <p>For my dissertation, I need tables to show the coefficients, standard errors, confidence intervals, and odds ratios (and p-values in some format). Is there a way for stargazer to include all four things? Perhaps in two different columns? I am able to export the tables to excel, however without all 4 things in the same stargazer table I am stuck manually putting the two above tables together. This is not a big deal for 1 table, but I am working with 36 models that all need tables (for my dissertation).</p>
  
  <p><strong>How can I use stargazer to show all four things? (odds ratio, confidence intervals, coefficients, and standard errors)</strong></p>