r - exporting results from pglm regression through stargazer -
i trying export results pglm regression through stargazer command publication. can help?
## count data models (code pglm package) data("patsrd", package="pglm") la1 <- pglm(pat ~ lag(logr, 0:5) + scisect + logk + factor(year), patsrd, family = negbin, model = "within", print.level=3, method="nr", index=c('cusip', 'year')) la2 <- pglm(pat ~ lag(logr, 0:5) + scisect + logk + factor(year), patsrd, family = poisson, model = "pooling", index = c("cusip", "year"), print.level = 0, method="nr") library(stargazer) stargazer(la1,la2, type='txt',out="table1.htm")
wiki
Comments
Post a Comment