Description Usage Arguments Examples
Plots distributions and joint uniform confidence bands of variables in
interest from ca
command.
1 2 3 |
x |
Output of |
var |
Name of variable for plotting |
main |
Main title of the plot. Defualt is NULL. |
sub |
Sub title of the plot. Default is NULL. |
xlab |
x-axis label. Default is NULL. |
ylab |
y-axis label. Default is NULL. |
... |
graphics parameters to be passed to the plotting routines. |
1 2 3 4 5 6 7 8 9 10 11 12 | data("mortgage")
### Regression Specification
fm <- deny ~ black + p_irat + hse_inc + ccred + mcred + pubrec +
ltv_med + ltv_high + denpmi + selfemp + single + hischl
### Specify characteristics of interest for plotting
t2 <- "p_irat"
### issue ca command
CAdist <- ca(fm = fm, data = mortgage, var = "black", method = "logit",
t = "p_irat", b = 50, interest = "dist")
### plotting
plot(CAdist, var = "p_irat", ylab = "Prob",
xlab = "Monthly Debt-to-Income Ratio", sub = "logit model")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.