Description Usage Arguments See Also Examples
View source: R/WEE_functions.r
Plot the estimated quantile coefficients and their pointwise confidence intervals from WEE.quantile regression
1 2 |
x |
object produced by |
CI |
logical flag indicating whether to plot confidence interval: default is FALSE; if TRUE the pointwise confidence interval is plotted. Only set TRUE when boots > 0 in the WEE.quantile fitting process. |
level |
confidence level. |
index |
a vector to indicate the subset of coefficients to be plotted (e.g., 2 indicates the coefficient of the first covariate, 3 indicates the coefficient of the second covaraite). Default is 1, i.e. the intercept. |
... |
further graphical parameters passed to |
1 2 3 4 5 6 7 8 9 | ## continued from WEE.quantile
## plot fitted model without pointwise confidence interval
plot(WEE.quantile(y ~ x, D, tau = 0.5,
data = dat_quantile, pd_pop = pd),index = c(2,3))
## plot fitted model with pointwise confidence interval
plot(WEE.quantile(y ~ x + z, D, tau = c(0.25,0.5),
data = dat_quantile, pd_pop = pd, boot = 500),
CI = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.