stargazer Questions

2

Is there a way to get notes in stargazer to wrap lines instead of running off the page? stargazer(fit.1, notes="A very very long note that I would like to put below the table, but currently runs o...
Dormer asked 12/2, 2014 at 6:24

2

Solved

I'm trying to output a data frame in latex using the stargazer package. I want the column names to include latex code, but stargazer does not allow latex code inside data frame names. I've also tri...
Gape asked 30/10, 2016 at 4:5

3

Solved

I am using the R package stargazer to generate tables in Latex. It works great but I cannot figure out how to format my numbers correctly. I want all numbers to show exactly one decimal place (e. g...
Joust asked 8/10, 2016 at 21:8

1

Solved

My goal is to create a multi-page Microsoft Word document with many formatted regression table outputs on consecutive pages. Ideally this would be done using R Markdown. I have had some luck maki...
Cyclorama asked 8/8, 2019 at 4:8

3

Solved

I am having trouble with the Notes significance (asterisks) not appearing when using stargazer to format html tables. The result is ok when using latex. Here is my source file "teste.Rmd" --- ti...
Marlite asked 16/8, 2018 at 18:50

2

Solved

I need to estimate a number of linear models on the same dataset, and put the regression results all into one table. For a reproducible example, here's a simplification using mtcars: formula_1 = &q...
Marissamarist asked 12/7, 2019 at 16:58

3

I just ran a statisitical model and i want it to display the results of the model as a table using stargazer. However, the large numbers are displayed in full. fit2<-lm(A~B,data=C) stargazer(f...
Ot asked 5/3, 2015 at 8:55

3

Solved

I want to compare the results of different models (lm, glm, plm, pglm) in a table in R using stargazer or a similar tool. However I can't find a way to display the coefficients in scientific notati...
Volatilize asked 22/7, 2015 at 0:20

1

Simple question, is there a function to embedded an existing HTML output, in this case a table output from the stargazer package in R into an R Markdown script?
Jarrett asked 16/6, 2016 at 2:6

4

Solved

I would like to use stargazer to produce summary statistics for each category of a grouping variable. I could do it in separate tables, but I'd like it all in one – if that is not unreasonably chal...
Gellman asked 19/8, 2014 at 17:40

2

Solved

For the purpose of publishing I often need both a PDF and a HTML version of my work including regression tables and I want to use R Markdown. For PDF the stargazer and the texreg packages produce w...
Prebend asked 9/6, 2017 at 11:59

3

Solved

I have the following regressions: fit1 <- lm(y ~ x1, data = data) fit2 <- lm(y ~ x1 + x2, data = data) fit3 <- lm(y ~ x3 * x1, data = data) I want in the output the explanatory variable...
Genni asked 4/9, 2015 at 18:59

2

Solved

I am trying to use the package stargazer in RStudio to generate a summary table of my data. For some reason, I am not able to view the table in the output when I use either the html or latex code, ...
Sinecure asked 16/8, 2017 at 23:29

2

Solved

I have several models such as the example below for which I have estimates, standard errors, p-values, r2 etc. as data.frames in tidy format, but I don't have the original model objects (analysis w...
Radie asked 26/8, 2018 at 15:41

1

Solved

I have regression coefficients at p-value 0.06. The output table of stargazer does not display the dot (.) signalling p-values under 0.1. How do I make stargazer to signal p-values below 0.1 in the...
Entrain asked 8/8, 2018 at 10:51

1

Solved

I am quite in doubt about which table formatting package to use, being xtable and stargazerthe alternatives. I find Stargazer easier to understand when building tables - specially if a need to use...
Alvinia asked 11/7, 2017 at 20:30

2

Solved

Does anyone know how to get stargazer to display clustered SEs for lm models? (And the corresponding F-test?) If possible, I'd like to follow an approach similar to computing heteroskedasticity-rob...
Bermudez asked 17/5, 2017 at 14:19

2

Solved

I am currently preparing a table of regression results with stargazer. In this, I also want to show the t-statistics. For that, I use the following simplified specification, as also shown in http:/...
Moritz asked 24/3, 2017 at 9:33

1

Solved

I want to make a summary-stargazer table in R, which gives me the respective number of observations N, the mean, the standard deviation, minimum and maximum for the variables "educ" and "exper". I ...
Reductive asked 7/5, 2018 at 14:56

2

Solved

R novice here. I'm having issues working with lmerTest and stargazer. I was following the tutorial here to get stargazer to work with lme4 in R. http://svmiller.com/blog/2015/02/quasi-automating-t...
Bluecollar asked 9/7, 2015 at 13:31

2

There appears to be a bug in version 5.2 of the stargazer package, where the omit.label functionality does not work consistently depending on the order of the included models: library(stargazer) l...
Theotheobald asked 13/7, 2016 at 15:2

2

Solved

Is it possible to change the default of stargazer so that it displays some custom model shortcut instead of the model number? I found the model.number parameter but this is a on-/off parameter. I...
Charlesettacharleston asked 27/12, 2014 at 20:45

4

I have dplyr::recode some factors and I am looking for a clean way to make LaTeX table where new and old categories, i.e. levels, are compared. Here's an illustration of the issues using cyl from ...
Enormous asked 26/2, 2018 at 12:40

2

I was wondering if someone came with a solution to show up the reference categories of categorical variables using stargazer? library(stargazer) Let us imagine that gear and carb are categoric...
Imbecility asked 18/11, 2016 at 18:19

1

Solved

I have two linear models created with lm that I would like to compare with a table in the stargazer package. For the most part, I like the results I'm getting. But the Akaike Information Criterion ...
Infundibuliform asked 26/11, 2017 at 9:37

© 2022 - 2024 — McMap. All rights reserved.