I'm looking for a prettier output from estimations using the library micEconAids
. stargazer
does not seem to work, unless I estimate the equations "by hand" using lm
or other regression package for seemingly unrelated equations. Some of the methods implemented by the package I might be able to replicate on my own, but not all of them.
So, are there any alternatives that could give me a better output besides the regression output from the summary
?
Below I've pasted some coding to exemplify the problem:
rm(list=ls())
library(micEconAids)
data(Blanciforti86)
priceNames = c( "pFood1", "pFood2", "pFood3", "pFood4" )
shareNames = c( "wFood1", "wFood2", "wFood3", "wFood4" )
laaidsResult1 = aidsEst( priceNames, shareNames, "xFood", data = Blanciforti86,
priceIndex = "S" )
laaidsResult2 = aidsEst( priceNames, shareNames, "xFood", data = Blanciforti86,
priceIndex = "P" )
laaidsResult3 = aidsEst( priceNames, shareNames, "xFood", data = Blanciforti86,
priceIndex = "SL" )
summary(laaidsResult1)
summary(laaidsResult2)
summary(laaidsResult3)
#Stargazer does not work with `micEconAids`:
stargazer::stargazer(laaidsResult1, laaidsResult2, laaidsResult3)
#What are the alternatives for showing a prettier output?
#######################################################################################################################
#In the previous examples, an AIDS model was regressed.
#Below there is an example of how the models could/should look like -- in a three equation setup --
#using `lm` function, which works with `stargazer`.
reg1 = lm(Blanciforti86$wFood1 ~ Blanciforti86$pFood1)
reg2 = lm(Blanciforti86$wFood2 ~ Blanciforti86$pFood2)
reg3 = lm(Blanciforti86$wFood3 ~ Blanciforti86$pFood3)
stargazer::stargazer(reg1,reg2,reg3, type="text")