rddensity_fV {rddensity} | R Documentation |
Internal function, implements density test.
Description
rddensity_fV
generates primitive results for the density test.
Usage
rddensity_fV(
Y,
X,
Nl,
Nr,
Nlh,
Nrh,
hl,
hr,
p,
s,
kernel,
fitselect,
vce,
massPoints
)
Arguments
Y |
Numeric vector or data matrix, the estimated c.d.f. |
X |
Numeric vector or data matrix, the running variable |
Nl , Nr |
Integers, sample sizes to the left and right of cutoff. |
Nlh , Nrh |
Integers, sample sizes to the left and right of cutoff, within bandwidth |
hl , hr |
Numeric, bandwidth to the left and right of cutoff. |
p |
Integer, polynomial order |
s |
Integer, higher order derivative estimate |
kernel |
String, the kernel function, can be |
fitselect |
String, the model, can be |
vce |
String, specifies the procedure used to compute the variance-covariance matrix estimator. Options are:
|
massPoints |
Boolean, whether whether point estimates and standard errors |
Details
This is an internal function, and should not be called by users. NOTE: data is assumed to be on ascending order.
Value
Returns a data frame for further use.