Usage
qregcdf(form,taumat=c(.10,.25,.50,.75,.90),hx=0,hy=0,nx=20,ny=100, targetx=0,targety=0,graph.target=FALSE,graph.yhat=FALSE, data=NULL)
Arguments
taumat
Vector of quantiles. Default: taumat=c(.10, .25, .50, .75, .90)
hx
Bandwidth for x in $K((X_i-x)/hx)$. Default:
hx = 1.06*min(sd(x), (quantile(x,.75)-quantile(x,.25))/1.349)*(n^-.2)
hy
Bandwidth for y in $\Phi((y-Y_i)/hy)$ Default:
hy = 1.06*min(sd(y), (quantile(y,.75)-quantile(y,.25))/1.349)*(n^(-.2))
nx
Number of target points for x if using an evenly spaced grid. Default is nx = 20.
If nx>0, then targetx <- seq(min(x),max(x),length=nx)
ny
Number of target points for y if using an evenly spaced grid. Default is ny = 200.
If ny>0, then $targety <- seq(min(y),max(y),length=ny)$
targetx
Vector of user-provided target values for x. An alternative to using nx to specify a uniformly spaced grid. Default: not specified.
targety
Vector of user-provided target values for y. An alternative to using nxy to specify a uniformly spaced grid. Default: not specified.
graph.target
If graph.target=T, graph of results is produced based on target values.
Default: graph.target=F.
graph.yhat
If graph.yhat=T, graph of results is produced based on interpolations to actual values of x and y. Default: graph.yhat=F.
data
A data frame containing the data. Default: use data in the current working directory