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 ...
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...
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...
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...
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....
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...
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...
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 ...
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...
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...
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...
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...
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...
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...
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 ...
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
1 Next >
© 2022 - 2024 — McMap. All rights reserved.