Description Usage Arguments Details Value Examples
Get point estimates and SEs/T-values as a numeric data frame without the extra characters or formatting issues inputted by estout.
1 | fix_estout(fn)
|
fn |
A full (character) filename path pointing to the desired .csv created by estout. |
Ever wanted to just access the numbers from estout without
having to deal with all the extra fluff included to make the output
readable by Excel, Word, or LaTeX? fix_estout
is for you!
fix_estout
takes in a filename path to a .csv created by STATA's
estout, and returns two data frames (in a list): reg.results
giving
the point estimates and reg.ses
giving whatever second line option
was picked (i.e. standard errors or t-values). All fluff ("=","()", etc.)
is removed. The regresands are the column names (with .1, .2, as R does by
default, for multiple specifications - a future version may offer the
option to put different model specifications in different list elements),
the regressors are the row names. The actual data frame is therefore purely
numeric.
A list will be returned containing two data frames:
reg.results
giving the point estimates of the regression output and
reg.ses
giving the second line of the outputs (i.e. SEs or T values)
1 | ## Not run: fix_estout("~/code/regression_output.csv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.