fitmethod = c("joint", "separate") to
rd2d(), rdbw2d(),
rd2d.distance(), and rdbw2d.distance(). The
new default fitmethod = "joint" preserves legacy point
estimates while using joint variance corrections, including joint HC1
degrees-of-freedom factors and cluster-robust covariance calculations
that account for clusters observed on both treatment sides.
fitmethod = "separate" retains the previous side-specific
variance calculation. Bandwidth selection keeps the existing plug-in
bias estimator and now applies the same joint/separate convention to the
selector’s variance constants.covs.eff to rd2d(),
rdbw2d(), rd2d.distance(), and
rdbw2d.distance() for efficiency adjustment using
pre-intervention covariates with a common covariate coefficient across
treatment sides, including sharp, fuzzy, joint, separate,
fixed-bandwidth, and automatic-bandwidth paths.covs.drop and covs.tol safeguards for
rank-deficient covs.eff. Redundant covariate columns are
dropped by default after residualizing on the local polynomial basis,
with diagnostics stored in opt.plot() for estimation and bandwidth-selection objects, plus
coef(), vcov(), and confint() for
rd2d() and rd2d.distance() estimation
objects.params.other and params.cov controls
to rd2d() for optional companion tables and covariance
storage.repp from
rd2d() and rd2d.distance() to the summary
methods that use it for uniform confidence bands and LBATE critical
values.summary.rd2d() and
summary.rd2d.distance().summary.rd2d().summary.rd2d.distance(), including fuzzy main, ITT, and
first-stage outputs.estimate.p, std.err.q,
t.value, and p.value.cerrd,
certwo, icerrd, and icertwo for
location-based and distance-based methods.kink/rbc
options with kink.unknown and kink.position,
including adaptive known-kink bandwidths based on boundary point
locations.q = p by default for distance-based unknown-kink
specifications to avoid compounding the unknown-kink bandwidth shrinkage
with an additional polynomial-order change.main, main.0,
main.1, bw, estimate.p,
std.err.q, N.Co, and N.Tr.fuzzy for treatment
receipt/status, tau.itt/tau.itt.q for
reduced-form outcome estimates,
tau.fs/tau.fs.q for first-stage estimates,
assignment for assignment, cluster for cluster
identifiers, and distance for signed distance scores.R/rd2d_illustration.R and R/rd2d_plot.R.Version published on CRAN on 2025-10-24.