plot.WEE.quantile: Plot coefficients estimated from WEE.quantile

Description Usage Arguments See Also Examples

View source: R/WEE_functions.r

Description

Plot the estimated quantile coefficients and their pointwise confidence intervals from WEE.quantile regression

Usage

1
2
## S3 method for class 'WEE.quantile'
plot(x, CI = FALSE, level = 0.95, index = 1, ...)

Arguments

x

object produced by WEE.quantile.

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 plot.

See Also

WEE.quantile

Examples

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)

WEE documentation built on May 2, 2019, 6:43 a.m.