View source: R/rddensity_fun.R
h_opt_density_res | R Documentation |
h_opt_density_res
calculates theoretical optimal bandwidth for restricted
model.
h_opt_density_res( p, N, dgp_F1_l, dgp_F1_r, dgp_Fp1_l, dgp_Fp1_r, kernel = "triangular" )
p |
Integer, polynomial order. |
N |
Integer, sample size. |
kernel |
String, the kernel function, can be |
x |
Numeric vector or data matrix, the running variable. |
dgp_F1, dgp_Fp1 |
Numeric, theoretical d.g.p. |
f_low, f_up |
Numeric, lower and upper boundaries. |
This is an internal function, and should not be called by users.
Returns MSE optimal bandwidth.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.