plot_coef {ivDiag} | R Documentation |
Plot OLS and IV Coefficents
Description
Visualise point estimates and confidence intervals of OLS and IV estimates.
Usage
plot_coef(out,
ols.methods = c("analy","bootc","boott"),
iv.methods = c("analy","bootc","boott","ar","tf"),
main = NULL, ylab = "Coefficient", grid = TRUE,
stats = TRUE, ylim = NULL)
Arguments
out |
output from |
ols.methods |
a vector specifying the inferential methods for OLS to be shown. The default is |
iv.methods |
a vector specifying inferential methods for 2SLS to be shown. The default is |
main |
a string specifying the title of the plot. |
ylab |
a string specifying ylab of the plot. |
grid |
a logical flag indicating whether to show the grids. |
stats |
a logical flag indicating whether to show the statistics, including the effective F, the number of observations, and the number of clusters (if applicable). |
ylim |
a two-element vector specifying the range of the y-axis. |
Value
A base R plot object.
See Also
[Package ivDiag version 1.0.6 Index]