Description Usage Arguments Examples
Plot output of spe
command. The x-axis limits are set to the
specified range of percentile index.
1 2 3 |
x |
Output of |
ylim |
y-axis limits. Default is NULL. |
main |
Main title of the plot. Defualt is NULL. |
sub |
Sub title of the plot. Default is NULL. |
xlab |
x-axis label. Default is "Percentile Index". |
ylab |
y-axis label. Default is "Sorted Effects". |
... |
graphics parameters to be passed to the plotting routines. |
1 2 3 4 5 6 7 8 | data("mortgage")
fm <- deny ~ black + p_irat + hse_inc + ccred + mcred + pubrec + ltv_med +
ltv_high + denpmi + selfemp + single + hischl
test <- spe(fm = fm, data = mortgage, var = "black", method = "logit",
us = c(2:98)/100, b = 50)
plot(x = test, main="APE and SPE of Being Black on the prob of
Mortgage Denial", sub="Logit Model", ylab="Change in Probability")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.