stargazer Questions

1

Solved

I have a panel data set of 10 obs. and 3 variables. (# of obs. 30 = 10 rows (= countries) * 2 columns (= migration parameters) * 1col for the respective year. My data frame consists of 3 annual dat...
Bays asked 10/11, 2017 at 15:56

1

Solved

Consider this simple example library(dplyr) dataframe <- data_frame(mytext1 = c('HELLO', 'WORLD'), mytext2 = c('HELLO', 'AGAIN'), value1 = c(1,2), value2 = c(1,2)) # A tibble: 2 x 4 myt...
Amor asked 29/8, 2017 at 1:5

2

The stargazer package for R has two arguments, covariate.labels and column.labels, that customize table text. I want to use Greeks or math expressions in these arguments. Ive tried standard syntax...
Tyronetyrosinase asked 5/2, 2014 at 16:9

2

Solved

I`m searching for a method (or alternative) to get spaces between the columns of an stargazer html-table output. As stargazer::stargazer(mtcars, type = "html") results in which is not very g...
Wordplay asked 15/9, 2015 at 14:36

1

Solved

I'm trying to embed an output table, nicely formatted by the stargazer function, in a markdown document. I tried embedding the stargazer() in an R code block in the Rmd document: ```{r} library...
Interviewer asked 17/10, 2014 at 19:42

1

Solved

I want to show regression outputs in HTML documents using R Markdown. I tried the texreg and stargazerpackages. My problem is now, that in the notes I can't bring the significance stars to life. Du...
Knuckle asked 10/6, 2017 at 12:36

1

Solved

I am using Stargazer to report the results from some models where I use robust standard errors. The process of calculating these and then feeding the models to Stargazer strips out data such as R^2...
Kinematics asked 2/6, 2017 at 0:3

2

I want to run a multinomial logit in R and have used two libraries, nnet and mlogit, which produce different results and report different types of statistics. My questions are: What is the source...
Thorn asked 26/4, 2017 at 0:34

1

I would like to know which is the easiest way to put a regression output (splm object) in TeX. Stargazer, texreg, latex does not recognize this type of object so the table would have to be done kin...
Amy asked 9/12, 2015 at 23:40

3

Solved

I want the same stars for significancies in regression output in stargazer as in the "normal output". I produce data library("stargazer"); library("lmtest"); library("sandwich") set.seed(1234) df...
Thunderstone asked 22/4, 2014 at 11:4

2

Solved

I run a regression of the type model <- lm(y~x1+x2+x3, weights = wei, data=data1) and then create my table ,t <- stargazer(model, omit="x2", omit.labels="x1") but I haven't found a way ...
Arabesque asked 7/4, 2016 at 21:19

3

Stargazer produces very nice latex tables for lm (and other) objects. Suppose I've fit a model by maximum likelihood. I'd like stargazer to produce a lm-like table for my estimates. How can I do th...
Selectman asked 24/1, 2014 at 17:17

3

Solved

Is it possible to incorporate resizebox into stargazer in R? I'm trying to create a table that is too wide to fit, even on landscape perspective. I manually added resizebox{\textwidth}{!} { \begin{...
Wigfall asked 22/2, 2015 at 19:42

3

I'm about to teach an R course for social scientists. They are likely to know nothing about LaTeX, and reluctant to hear about it (R is complex enough for them). Yet, they are likely to love the so...
Creodont asked 5/4, 2014 at 7:40

1

Solved

Consider the following example inds <- c('var1','','var2','') model1 <- c(10.2,0.00,0.02,0.3) model2 <- c(11.2,0.01,0.02,0.023) df = df=data.frame(inds,model1,model2) df inds model1 mod...
Unpin asked 21/10, 2016 at 12:23

2

Solved

I really like the styling of tables that the stargazer package uses. The tables render fine in pdf using Knitr and Rstudio. However when I try to knit my .Rmd into an html page, the tables end up s...
Bask asked 16/9, 2016 at 17:52

3

Solved

There are multiple packages for R which help to print "pretty" tables (LaTeX/HTML/TEXT) from statistical models output AND to easily compare the results of alternative model specifications. Some o...
Newspaperman asked 11/8, 2016 at 10:39

2

Solved

I am trying to display extremely small numbers (<1E-12) in an ASCII table. (Believe me, I can't find any alternative.) So far I've tried stargazer and xtable. Neither of them seems to work. I ca...
Acierate asked 12/4, 2016 at 21:30

1

I am not sure why it seems so difficult to find information regarding summarizing non-quantitative variables with stargazer. I would like a summary of the following time variable (number of observ...
Ira asked 24/8, 2014 at 16:15

1

Solved

I try to put some 2SLS regression outputs generated via ivreg() from the AER package into a Latex document using the stargazer package. I have a couple of problems however that I can't seem to solv...
Capetian asked 9/10, 2015 at 22:35

1

Solved

I'm wondering how to get custom model names in the stargazer package for R. There is an option for model.names which can be set to TRUEor FALSE, but it does not support a vector or names such as m...
Lexicology asked 29/12, 2015 at 18:25

1

Solved

I am using knitr to write a .Rnw file and the stargazer packages to build tables for regression outputs. For the most part it is working quite well but I would like to rotate a table 90 degrees lik...
Bhagavadgita asked 1/7, 2015 at 19:18

1

Solved

I'm trying to create a stargazer table for a set of regressions, where I ran each regression on a subset of my data. The natural way to do this, I would think, is to use split to create a list of d...
Psychro asked 13/1, 2015 at 20:55

1

stargazer automatically centres values within tables. How can I left align the columns? Put this code in an .Rnw file and use knitr to convert to .tex: <<load, echo=FALSE, warning=FALSE, me...
Higbee asked 12/9, 2014 at 7:2

2

Solved

When I perform a multinom reg. I have difficulties to get a nice summary with Rmd and and Knit HTLM (Rstudio). I would like to know how to get a nice summary as if I use the stargazer package with ...
Hage asked 23/9, 2013 at 14:20

© 2022 - 2024 — McMap. All rights reserved.