stargazer Questions

5

When I want to save my regression results with stargazer(regressions[[reg]], out=myFile, out.header=FALSE stargazer keeps also displaying/printing the result into the console. As I'm iterating ...
Pavel asked 12/5, 2015 at 15:46

2

I need linearmodels for 2 way clustering, that's not properly implemented in statsmodels. I was wondering if it was possible to use the stargazer python library with the linearmodels package, rathe...
Predict asked 10/3, 2020 at 14:53

1

I am trying to use stargazer() to export my regression result. I wanted to be able to report both coefficient and standard error in separate columns see this pic here: However I can only get coeff...
Singlehandedly asked 4/9, 2018 at 18:57

1

If I'm running a fixed effects model in r using lm and the factor command, how can I suppress the factor variable coefficients in a stargazer model? i.e. my model is: m1<-lm(GDP~pop_growth + f...
Sojourn asked 19/3, 2018 at 17:24

2

I have read a lot about the pain of replicate the easy robust option from STATA to R to use robust standard errors. I replicated following approaches: StackExchange and Economic Theory Blog. They w...
Maidservant asked 18/11, 2019 at 21:22

3

I ran a bunch of models using feols model (fixest package), but I have trouble exporting my model into a table using stargazer. Any suggestions on how I can do that? It does seem like I can use eta...
Russom asked 19/2, 2021 at 22:53

1

Solved

I am using Stargazer to output a regression table with multiple lm models together. The problem is that Stargazer outputs the F-Statistic and degrees of freedom in a single line by default. If you ...
Daren asked 18/9, 2020 at 16:1

2

Solved

I am using texreg to show regressions side-by-side, including SUR systems with systemfit, but I have some formatting constraints/preferences. I would like to be able to round the coefficients one w...
Rooftree asked 20/4, 2022 at 23:32

5

Solved

I'm struggling to use stargazer output in knitr, using RStudio. For example, I paste the code below into a .Rmd file, then click Knit HTML. The first block between [ and ] is rendered as equations....
Apparel asked 3/2, 2013 at 7:16

3

I'm trying to print a table of combined lm's in Rstudio using Stargazer and I keep getting this message: Error in if (nchar(text.matrix[r, c]) > max.length[real.c]) { : missing value where TRUE...
Milliard asked 9/1, 2019 at 15:47

5

Solved

I included resize.height=0.5,resize.width=0.5 in the code chunk, but still can't resize the table generated by stargazer. Can anyone tell me why? My code chunk options look like this: echo=FALSE,w...
Crosswind asked 6/4, 2017 at 4:50

4

I'm using the R package stargazer to create high-quality regression tables, and I would like to use it to create a summary statistics table. I have a factor variable in my data, and I would like th...
Jarvis asked 13/11, 2014 at 15:55

2

When using the stargazer package, I want to change the value that appears in parentheses under the coefficients. By default, the package will output the standard errors. How can I include the act...
Cubic asked 2/7, 2014 at 23:17

4

What I want is to print nice crosstabulations, either in a pdf file, or in a html file, from RStudio, using R, Markdown and knitr. I suspect I am missing something really obvious, because I cannot ...
Cobaltous asked 26/8, 2014 at 22:59

2

I'm actually surprised to find that no one has asked this question. Here it goes. I have a 3 models, first 2 computed for black people and the last one for whites. I produce a regression output wi...
Wolframite asked 13/1, 2016 at 18:55

2

I have a glm model for which I use coeftest from the lmtest package to estimate robust standard errors. When I use stargazer to produce regression tables I get the correct results but without the n...
Goeselt asked 19/10, 2016 at 16:1

4

Solved

When using stargazer to create a LaTeX table on a logistic regression object the standard behaviour is to output logit-values of each model. Is it possible to get exp(logit) instead? That is, can i...
Angiology asked 26/4, 2013 at 12:32

1

I am working with an R Markdown file that we need to be able to knit both to pdf and Word (for a co-author). We also have regression tables generated in stargazer that, due to the size of the data,...
Wellchosen asked 23/8, 2020 at 20:30

1

I'm trying to produce a proper table with stargazer in markdown. The linear model code is as follows: k <- lm(mean_p ~ P*MA, data=d) Calling the following stargazer-function however does not ...
Seriatim asked 9/8, 2019 at 12:8

2

I wanted to change the rownames, but the function covariate.labels does not work here like it does using the normal lm function with stargazer. When I try covariate.labels in the below function i...
Wilmerwilmette asked 1/5, 2015 at 23:19

1

Solved

Table generation in LaTeX using R's stargazer works great. But I can't figure how to format my numbers to whole numbers (this post is related, but different). Due to data scale, I want coefficient...
Crandale asked 10/6, 2020 at 17:44

1

I am trying to create a simple summary statistics table (min, max, mean, n, etc) that handles both factor variables and continuous variables, even when there is more than one factor variable. I'm t...
Asphaltite asked 11/6, 2020 at 0:7

1

I just run my regression including fixed effects, in this case id_school. Next I omitted all the dummy variables from my stargazer tab, so I can save some space. The thing is I want to include a ...
Eyas asked 5/6, 2020 at 21:6

2

I am working with stargazer and I want to produce a LaTeX output for a simple lm object. The problem is that I cannot set align = TRUE without getting an error. LaTeX Error: \caption outside flo...
Congest asked 8/8, 2016 at 19:5

1

Solved

I calculated a dynlm model and now want to get stargazer to export that. However, stargazer does not return any output, instead gives me the Unrecognized object type Error. I already checkd if dynl...
Bazil asked 30/12, 2019 at 9:19

© 2022 - 2024 — McMap. All rights reserved.