View source: R/rddensity_fun.R
h_opt_density | R Documentation |
h_opt_density
calculates theoretical optimal bandwidth.
h_opt_density(x, p, N, dgp_F1, dgp_Fp1, f_low, f_up, kernel = "triangular")
x |
Numeric vector or data matrix, the running variable. |
p |
Integer, polynomial order. |
N |
Integer, sample size. |
dgp_F1 , dgp_Fp1 |
Numeric, theoretical d.g.p. |
f_low , f_up |
Numeric, lower and upper boundaries. |
kernel |
String, the kernel function, can be |
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.