Description Usage Arguments Value Examples
This function computes the fitted values and residuals in a local composite quantile regression.
1 2 3 4 5 6 7 8 9 10 11 12  | 
x_vec | 
 A vector of covariates.  | 
y | 
 a vector of dependent variable, the treatment outcome variable in the case of regression discontinuity.  | 
kernID | 
 The kernel id that includes 
  | 
tau | 
 A vector of quantile positions. They are obtained by
  | 
h | 
 A scalar bandwidth.  | 
p | 
 The polynomial degree. Defaults to 1.  | 
maxit | 
 Maximum number of iterations in the MM algorithm. Defaults to 100.  | 
tol | 
 The convergence criterion. Defaults to 1.0e-4.  | 
parallel | 
 Set it to 1 if using parallel computing. Default is 1.  | 
grainsize | 
 The minimum chunk size for parallelization. Defaults to 1.  | 
est_cqr returns a list with the following components:
y_hat | 
 The fitted value at each point of the input vector   | 
u_hat | 
 The residual vector.  | 
sig_hat | 
 The estimated standard deviation at each point of the input
vector   | 
e_hat | 
 The scaled residual vector. It is the residual vector divided
by the   | 
1 2 3 4 5 6 7 8 9 10 11  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.