I am trying to automate the process by which I output the coefficients and standard errors from a number of regression models into a single table for output via xtable as html.
Some similar questions (like this one) have been directed to a function called "outreg" by Paul Johnson, but the page no longer exists and I can't find the code.
Others (like this one) use solutions that seem to give me errors because my models do not all have the same number of variables.
To clarify my task ...
- I have n polr (ordinal logistic) models from which I want to output the coefficients and standard errors.
- Each model includes a different number of predictors.
- I need one data.frame (?) with a column or two for each model and a row for each predictor
- it's not critical how the standard errors are output in relation to the coefficients
each model has output like this with successively more predictors:
>summary(model1)["coefficients"]
$coefficients
Value Std. Error t value
relGPA 0.8683499 0.04185389 20.74717
mcAvgGPA 1.3885515 0.09688030 14.33265
Deny|Waitlist 0.5707912 0.01553476 36.74283
Waitlist|Accept 0.8398921 0.01618358 51.89779