Validated plot control helpers
np.plot.controls.RdBias-corrected bounds are experimental (pre-beta research), incomplete, and not recommended for general-purpose inference. See the experimental-status section below.
Constructors for detailed plot controls used by the redesigned
np plotting interface. Common choices such as errors,
band, alpha, bootstrap, and B remain direct
plot arguments; these helpers collect less common options.
Arguments
- nonfixed
Bootstrap behavior for non-fixed bandwidth routes.
"exact"reconstructs each duplicate-row resample and recomputes nearest-neighbour bandwidths;"frozen"reuses the bandwidths from the fitted object.- wild
Wild-bootstrap multiplier distribution. Mammen is the default; Rademacher remains available explicitly.
- blocklen
Optional block length for block bootstrap methods. Corrected density providers reject fixed blocks whose length equals the training sample size: each resample then contains every observation exactly once and has no resampling variation. Geometric blocks are unaffected.
- ...
Reserved. Select the interval construction with
intervalin the plot call. Older controls containingcalibrationmust be rebuilt with their original resampling settings.- xtrim
Optional two-element trim range for evaluation grids.
- xq
Optional evaluation quantiles.
- slices
Optional slice specification for routes that support it.
- style
Interval display style.
- bar
Bar style when
style = "bar".- bar.num
Optional number of bars.
Details
The explicit density plot law bootstrap="smoothed-beta-binomial"
requires interval="symmetric-sd"; it does not select a law implicitly.
Its fixed-bound, univariate, order-four/six/eight Epanechnikov restrictions and complete
corrected-root construction are described in plot.np.
The descriptive bootstrap choices require errors="bootstrap",
center="bias-corrected" and band="pointwise",
"simultaneous", "bonferroni", or "all".
"symmetric-sd" retains "absolute".
"asymmetric-sd" retains "separate-tails" for regression and
CDFs, and transported "percentile-tails" for density. The suffix
sd does not imply normal critical values: these empirical bands use
bootstrap calibration. interval="asymmetric-sd-envelope" selects the conservative
hull with the absolute-root interval; it is distinct from the raw asymmetric
choice. Regression defaults follow the kernel/law policy below.
Fixed-bandwidth second-order Epanechnikov kernels with none/fixed support
and second-order beta kernels with declared finite fixed support admit explicit
"asymmetric-sd" and
"asymmetric-sd-envelope" with "inid", "fixed", "geom" or Mammen/Rademacher wild resampling.
These existing standardized-root constructions are experimental alternatives.
They can be substantially narrower than the default local envelope and need not
retain its finite-sample coverage; saved degree-two beta derivative examples
miss features covered by the local envelope. The local-envelope default is
unchanged. Explicit tail controls still require empirical bands; they do not
select asymptotic errors or interval="normal-sd".
The same fixed second-order kernel configurations support ordinary iterated
bias-corrected asymptotic and interval="normal-sd" calls. Asymptotic finite-grid
bands use the existing Gaussian multiplier process with replicate residual-pilot
studentization; interval="normal-sd" uses a normal critical value times the observed
corrected-process SD and is not a simultaneous band. Explicit
"symmetric-sd" supports pairs, Mammen and Rademacher
resampling. The auxiliary pilots remain Gaussian. These SD constructions retain
finite-sample limitations, including saved degree-two derivative misses;
Mammen and pairs empirical defaults continue to select the more protective
local envelope. For Rademacher wild resampling, omitted/default calibration
selects "asymmetric-sd-envelope" for these fixed configurations, preserving both
its signed and absolute intervals; explicit controls are unchanged. Nonpooled
Rademacher targets retain observed corrected-process scaling, while pooled
mixed-predictor targets retain replicate residual-pilot studentization for
empirical bands. This does not extend either basic envelope to Rademacher or
alter Gaussian defaults; the saved derivative limitations still apply.
For fixed-bandwidth raw Epanechnikov GLP fits with a quadratic component,
and fixed-bandwidth beta derivatives with a positive main degree, the
supported iterated empirical bands require explicit
interval="basic-local-envelope" with pairs or
Mammen resampling. Saved cases show numerical sensitivity in the fitted rows.
Fixed uniform-kernel models with ckerbound="none" or "fixed"
support iterated mean correction for local-constant fits and GLP fits with
degree zero in every continuous predictor, including mean panels
for mixed continuous/categorical predictors. Their empirical default is "basic-local-envelope" for
Mammen or pairs resampling and "asymmetric-sd-envelope" for Rademacher;
asymptotic and interval="normal-sd" calls retain absolute calibration. The same
explicit fixed-kernel calibration/law combinations above apply to these mean
targets. Continuous uniform derivatives remain unqualified under iterated
correction, including local-constant auxiliary-only derivatives. For mixed
uniform models, gradients=TRUE requests continuous derivatives along
with categorical contrasts and is therefore refused as a whole; the public
plot interface does not offer a contrast-only iterated route. The existing
explicit bias.control=np_bias_control(construction="legacy") routes
retain their previous supported behavior. The main kernel remains uniform
and the auxiliary pilots remain Gaussian. Saved mean comparisons are limited
to eight reused original samples and do not establish general nominal coverage.
Uniform LC and GLP fits with degree zero in every continuous predictor also
support these mean constructions with generalized or adaptive nearest-neighbour
bandwidths and unbounded or declared fixed support. Their defaults follow the
same declared-law mapping; explicit methods remain available. Neighbour counts
and Gaussian auxiliary fits remain fixed, and bounded ANN retains donor-specific
support normalization. The additional NN comparison uses only two saved
original samples and does not establish nominal coverage. Higher-degree uniform
NN correction and continuous uniform derivatives remain unqualified.
The experimental interval="basic-envelope" is available for
fixed-bandwidth regression means, derivatives and categorical contrasts with bootstrap="inid", "fixed"
or "geom" and iterated
bias correction. Applicable main kernels are second-order Gaussian under its
existing support restrictions, second-order Epanechnikov with none/fixed
support, and second-order beta with declared finite fixed support.
The more protective local envelope remains the default for the admitted
Epanechnikov and beta pairs/Mammen empirical-band combinations; requesting
"basic-envelope" explicitly retains its own construction and can give
narrower intervals. It reuses the complete corrected observation rows and
the selected row/block multiplicities; it does not refit resampled pairs.
For inid, signed residual-score draws are aligned to the observed corrected
standard error,
then expressed in endpoint units before taking marginal quantiles or
finite-grid extrema. For the corrected target estimate \(\widehat\theta_{bc}\),
basic inversion maps root limits \([L,U]\) to
\([\widehat\theta_{bc}-U,\widehat\theta_{bc}-L]\).
Each interval is expanded to contain the empirical absolute-root interval
from the same draws. Thus pointwise, simultaneous and Bonferroni envelopes
are nested. The simultaneous envelope has constant lower and upper offsets
across each nondegenerate plotted family; a high-variance target can widen
it substantially elsewhere. Relative to standardized SD bands it can be
narrower at the most variable targets; it is conservative only relative to
its raw separate-tail construction. For inid and non-pooled block rows,
pointwise results equal the existing
"asymmetric-sd-envelope" pointwise results. Its behavior depends on the full
displayed grid.
Bandwidths and polynomial degrees remain fixed. No Gaussian critical value
or replicate-specific studentizer is used by this option. For inid and
non-pooled block rows, the score-SD alignment is estimated from
B draws, so it has Monte Carlo error.
For fixed and geometric blocks, ordinary and categorical-only rows retain
pilot-anchored block scaling. Pooled multi-level/multiple-factor profiles retain
the existing exact conditional block-score variance and raw centered score
sums; they are not aligned to the pilot SE and can differ from inid even at
block length one. This distinction is intentional. Block lengths and the
existing automatic selector are retained; fixed blocks of length n have no
resampling variation and are refused. At least two draws are required.
For iterated bias-corrected regression with fixed bandwidths and at least one
continuous predictor, omitted control, np_boot_control() and
interval=NULL follow the declared kernel and resampling law.
For the admitted Epanechnikov, fixed-support beta and degree-zero uniform
targets described above, empirical inid/fixed/geom or Mammen bands use "basic-local-envelope";
Rademacher bands use "asymmetric-sd-envelope". Asymptotic and interval="normal-sd"
calls use absolute calibration. Each choice matches its explicit construction
and is resolved once before the target families are evaluated. Gaussian and
nearest-neighbour defaults retain their existing policy; explicit nondefault
controls retain their own meanings and admission rules. Returned inference
records the effective calibration and marks a default-resolved local or tail
envelope as requested by default. This policy does not broaden coverage
evidence or numerical admission rules. A supplied control must still be an
np_boot_control object; boot.control=NULL is not a control object.
For pairs resampling, experimental interval="basic-local-envelope" has the same
fixed-bandwidth admission rules and also supports generalized and adaptive
nearest-neighbour bandwidths with second-order Gaussian regression: unbounded
support, or local-constant, local-linear or GLP fits with main degrees at most one and declared
fixed support. It reuses exactly the
same corrected centers, observed standard
errors and signed draws. It also takes signed and absolute family extrema after
standardizing each target by its observed standard error, then returns the hull
of this local envelope and the existing "basic-envelope" simultaneous
and Bonferroni bounds. Pointwise bounds are unchanged. Local offsets can vary
across the grid; this is not replicate-studentized bootstrap-t. Zero standard
error requires zero process draws. This option never narrows the existing
basic envelope, but does not guarantee nominal coverage or correct remaining
bias. Like all bias-corrected bounds it remains experimental, pre-beta and
incomplete. With fixed bandwidths, this explicit option also admits second-order
Epanechnikov kernels with ckerbound="none" or "fixed", and
second-order beta kernels with declared finite fixed support, for means,
supported derivatives and categorical contrasts. The existing Gaussian
auxiliary fits are retained; automatic adaptation is inactive for these
extensions and explicit unsupported adaptation remains an error. Declared
fixed support validates the data and targets; for Epanechnikov it does not
define a different regression weight formula. Beta data, metric bandwidths
and bounds are transformed together. Native beta derivative precision
limitations and refusals for undefined canonical rows (including some exact
support endpoints) remain. For inid, fixed and geometric pairs resampling,
this option also admits unbounded second-order Epanechnikov nearest-neighbour
bandwidths. Adaptive NN retains the existing derivative construction; generalized
NN is restricted to main polynomial degrees at most one in every continuous
predictor. Neighbour counts remain fixed during inference. Second-order
Epanechnikov LC, local-linear and GLP fits with unbounded or declared fixed support
and main degrees at most one in every continuous predictor also admit explicit "basic-envelope", "asymmetric-sd"
(including "asymmetric-sd") and "asymmetric-sd-envelope" pairs bands
for either NN type. Their omitted/default pairs calibration is the unchanged,
more protective local envelope. Means, frozen-radius first derivatives and
categorical contrasts retain their existing corrected rows. The comparisons
use only two saved original samples and do not establish nominal coverage.
For that degree-zero or first-order Epanechnikov NN class, ordinary asymptotic and interval="normal-sd" calls
also use the established corrected-process SD construction. Explicit
"symmetric-sd" or "symmetric-sd" admits pairs, Mammen and Rademacher;
separate tails and the tail envelope additionally admit both wild laws.
The Mammen empirical default uses the local envelope and the Rademacher default
uses its containing tail envelope. Gaussian auxiliary fits and all fitted
neighbour counts remain fixed. As elsewhere, interval="normal-sd" is a normal
critical value times the observed corrected SD, not a simultaneous band.
The two saved-sample comparisons do not establish nominal coverage or remove
finite-sample uncertainty. Explicit narrower methods retain their definitions.
Known bounds transform with the data; bounded ANN retains donor-specific
support normalizers and the existing frozen-radius derivative convention.
The qualified extension is limited to main degree components zero or one.
Higher-degree Epanechnikov NN admissions are unchanged. Second-order beta
GNN/ANN LC or GLP degree-zero means with known finite fixed support, including
supported mixed mean panels and categorical mean contrasts, use these same
established SD, pairs and wild constructions and defaults. For the experimental univariate beta NN derivative scopes and the
degree-one and degree-two Bernstein beta GNN mean scopes, see plot.np; requested
panels are never silently omitted. The beta comparison reuses two saved original
samples and does not establish nominal coverage. Higher-degree bounded/wild
Epanechnikov NN and higher-order kernels remain unqualified.
Inherited numerical limitations of fitted and derivative rows remain.
These experimental extensions do not guarantee nominal coverage.
Second-order Gaussian correction supports known fixed support for continuous
fixed-bandwidth fits and for generalized/adaptive NN local-constant, local-linear or GLP fits
with main degrees at most one, including supported mixed predictors. Gaussian defaults and existing explicit calibrations
are unchanged. NN radii stay frozen for derivatives; bounded ANN retains its
donor-specific support normalization. Partial-degree models retain the existing
refusal or unavailable-panel behavior for derivatives above a coordinate's degree.
Higher-degree bounded Gaussian NN, fixed-bandwidth mixed Gaussian models and
range bounds remain unqualified. The two saved NN samples provide
limited availability evidence and do not establish nominal coverage. The existing adaptation and accepted fitted-row
precision rules are retained. Zero nearest-neighbour radii and
unqualified regularized main rows retain their existing refusals.
The original "basic-envelope" public option supports fixed bandwidths
and qualified degree-zero or first-order Epanechnikov NN models, or degree-zero
uniform or known-fixed-support beta NN mean models; it remains pairs-only.
For fixed-bandwidth second-order Gaussian (unbounded, or known fixed support
with continuous predictors only), Epanechnikov
(unbounded or fixed support), or beta (known finite fixed support) regression
with at least one continuous predictor,
basic-local-envelope also supports
bootstrap="wild" with wild="mammen" in
np_boot_control(). This is a fixed-factor multiplier
construction, not a refitted or replicate-studentized bootstrap. It uses
complete corrected rows times the positive generation standard deviation;
for the univariate captured local owner this is the neighbourhood generation
variance, and otherwise the existing smoothed residual variance. Raw and
locally generation-SD-standardized signed-tail limits are protected by their
absolute-root references, enveloped, and symmetrized. The returned observed
standard error is preserved and can differ from the scale driving these bands.
Pointwise wild bounds are also symmetric. Categorical-only designs,
Rademacher multipliers and other unqualified nearest-neighbour wild models
remain outside this option; existing methods remain available. The row construction
supports the existing derivative and mixed-design targets, but empirical
coverage evidence for this experimental wild variant is limited to
univariate mean targets. No general coverage guarantee is implied.
Dependent-data coverage evidence is limited; pooled and mixed layouts have
structural qualification rather than a broad dependent-data coverage study.
Existing regularization and pilot-admission restrictions remain in force.
Existing derivative-order restrictions also remain in force. Each derivative
or categorical contrast has its own finite-grid simultaneous family; there is
no joint coverage assertion over all panels. The reference-level unordered
contrast has deterministic zero bounds. Derivative bands can be much wider
in low-variance regions while still being narrower than standardized SD bands
at the most variable target, often a sparse boundary. Trimming the displayed
grid changes the family and does not guarantee better protection at the new
endpoints.
Derivative coverage, especially for higher orders and dependent observations,
is incompletely characterized; structural qualification is not a coverage
guarantee. The existing asymptotic and SD constructions remain available.
The original "basic-envelope" does not support wild resampling or
nearest-neighbour bandwidths. Neither envelope supports interval="normal-sd". Existing methods and
defaults are unchanged. Like all corrected bounds, this option is pre-beta
research, with limited coverage evidence rather than a general guarantee.
For legacy corrected bootstrap plots, set construction="legacy" in
the corresponding np_bias_control(), np_udens_bias_control() or
np_udist_bias_control() passed to bias.control. The legacy provider
determines its supported laws and scopes.
For known-fixed-bound beta density plots with omitted bias.control,
"symmetric-sd" and "asymmetric-sd" select the separate refitted
residual construction described in np_udens_bias_control.
It requires independent resampling and explicit pointwise or simultaneous
bands. The asymmetric rule inverts signed residual roots; the symmetric rule
adds the guide region and takes a containing symmetric hull once. Omitting interval uses the existing default for the fitted kernel.
For fixed-bound order-2 Gaussian density plots with omitted bias.control,
the same two SD selections use FG-D: construct complete signed or symmetric
intervals under the pilot and empirical residual scales, then take their outward
union. The original empirical residual denominator remains fixed across actual
guide refits. Known fixed bounds, strictly interior observations/targets and
explicit pointwise/simultaneous bands are required. Range bounds are rejected;
"legacy" retains its existing route. See
np_udens_bias_control.
For density, interval="outer-calibrated-percentile" uses complete unshifted corrected
curves, a data-selected outer smoothing pilot and 39 outer calibration samples.
The complete density and its correction vary jointly. The original fitted
object and selected bandwidth remain unchanged. Fresh outer samples repeat the
original bandwidth rule when its selection provenance is available: manual
physical bandwidths stay fixed, manual scale factors retain their units,
normal-reference bandwidths are recomputed, and CV repeats its retained
objective and search settings. Newly selected density and distribution
bandwidth objects retain these evaluated settings in selection.procedure;
no stored call or calling environment is evaluated to recover them.
Older manual and normal-reference objects retain enough information to recover
those rules. Older CV objects without a complete descriptor retain historical
default-CV outer calibration with an aggregated warning and
legacy-unresolved provenance diagnostics. Refit such objects to obtain
faithful replay. Coverage for nondefault selection procedures remains
unqualified; matching the procedure is not itself a coverage theorem.
Inclusive family ranks select the
simultaneous content. Companion hulls preserve pointwise/simultaneous/Bonferroni
nesting and singleton equality. For a family with more than one grid point,
pointwise bands are nominal marginal percentile bands; the outer calibration
chooses simultaneous content, with a pointwise floor. The Bonferroni companion
contains both the nominal Bonferroni and calibrated simultaneous bands. For a
singleton all three coincide, including any support-completed endpoint.
Certified conditional bootstrap support supplies
the full-content endpoint when needed. No centering shift, SD transport,
zero clipping or forced point-estimate containment is applied.
This option requires the suggested package ks, fixed unbounded
second-order Gaussian continuous kernels, at least one continuous coordinate,
and admitted unordered Aitchison–Aitken or normalized ordered Li–Racine
coordinates. Ordered smoothing uses the integer lattice, including unobserved
gaps. Near-pooling categorical operators and their provenance are recorded.
It supports inid, or fixed/geom with block length one;
nonunit-block outer calibration is not implemented. The requested draw count
is retained, up to the prototype's 9999-draw limit. Low resolution returns every
requested band with diagnostics. Unattainable outer calibration is explicitly
flagged as diagnostic-only; support completion can yield wide intervals.
A support-completed band is distinct from empirical-tail calibration and can
be effectively uninformative. It is retained with a warning and diagnostics;
it does not mean that calibration unattainability has been silently discarded.
The Gaussian q=1 assessment is stronger than the current multivariate/mixed
coverage evidence. No uniform coverage or dominance claim is made.
Symmetric/asymmetric density SD methods retain their existing admitted
inid/fixed/geom laws and scope. Mixed-data block requests
require explicit block lengths. Asymmetric CDF bands support admitted fixed
bandwidth joint-process inid/fixed/geom inference;
numeric nearest-neighbor asymmetric CDF inference remains unqualified.
The experimental CDF interval="outer-calibrated-percentile" option uses a
Gaussian derivative-three smoothing pilot, 39 fresh outer-sample fits using
the same bandwidth-procedure policy described above,
complete bias-corrected CDF curves and calibrated family ranks. Its current
scope is one numeric variable, fixed unbounded Gaussian2 bandwidths,
inid or literal block length one, and the complete untrimmed sample-range
evaluation grid. All three companion bands are returned when requested, with the same nominal
pointwise and calibrated simultaneous companion convention as density.
Useful population coverage for this CDF prototype has not been established;
it is exposed for experimentation. Fresh outer CV may select slightly different
bandwidths across serial and MPI fits, as with the existing estimator.
For continuous regression with fixed second-order Gaussian kernels, unbounded
or with known fixed support, and inactive adaptation, the experimental inid, fixed and
geom corrected-row methods use the original accepted fitted observation
rows for means and first derivatives, including regularized main rows. The fitted
model and its rank/ridge policy are unchanged; auxiliary pilots retain their
identification requirements. Capture uses bounded row tiles without introducing
a fixed capture-memory ceiling for these pairs methods. Matching the fitted
operator does not establish nominal coverage at sparse or extreme-leverage
targets. These methods remain experimental and incomplete.
For regression, interval="outer-calibrated-percentile" selects the
E1 mean / E6 first-derivative calibrated percentile construction. This is a
fixed-design standardized empirical-residual bootstrap: residual innovations
are centered and normalized, then resampled with replacement and multiplied by
the fitted error scale. No kernel jitter is added to the residual distribution.
The smooth fitted pilot generates responses, and the complete correction
operator acts on every response draw. Curves are not recentered on the observed
corrected estimate. The 39 outer responses refresh the pilot, residual shape
and variance using the original selected geometry; they do not reselect
bandwidths. Derivative marginal and whole-family contents are calibrated
separately. For regression means with more than one grid point the pointwise
band is the nominal marginal percentile band, not an outer-calibrated marginal
band; it remains a floor for the calibrated simultaneous band. Derivative
pointwise content is separately outer-calibrated. Bonferroni companions include
the simultaneous envelope; singleton equality is enforced.
Selecting this regression option with bootstrap omitted uses
bootstrap="residual"; explicitly choosing a different bootstrap law is
an error. The residual law is exclusive to this option and does not replace
wild/Mammen or the existing pairs/block laws. With bias.control omitted,
the option uses np_bias_control(adaptation="none"). Initial scope is
fixed Gaussian2, one or two numeric predictors, local constant, local linear,
or Bernstein local polynomial degrees at most three, first derivatives,
16 correction iterations, alpha=0.05 and B<=9999. Explicit
incompatible controls are rejected. Resident work is bounded by a forecast;
no training-square matrix or outer-by-draw-by-grid bank is retained.
This regression prototype has known localized-signal coverage failures, in
addition to conservative q=2 cells and heteroskedastic sensitivity/control-loss
failures. Applying the correction operator to responses generated by the smooth
pilot can place the bootstrap curves away from the observed corrected estimate.
The empirical residual-shape normalization can also be numerically unstable
when residuals are at floating-point resolution. This experimental opt-in is
retained for investigation; its public availability is not a general coverage
guarantee or a recommendation over the existing SD calibrations. All percentile methods
preserve support-completion and unattainability diagnostics. Percentile bounds
need not be symmetric about or contain the corrected estimate. Existing
symmetric/asymmetric SD methods and omitted calibration defaults are unchanged.
See np_udens_bias_control and np_udist_bias_control.
Gaussian simultaneous variability bands use the Gaussian-multiplier framework
of Chernozhukov, Chetverikov and Kato (2013, 2015). For the density/distribution
families, related simultaneous-inference research is due to Cattaneo, Jansson
and Ma (2024) and Cattaneo, Chandak, Jansson and Ma (2024). See
plot.np for the full published references, implementation scope
and estimator-specific qualifications.
Asymmetric regression calibration requires errors="bootstrap",
center="bias-corrected", the iterated construction and
band="pointwise", "simultaneous", "bonferroni", or
"all". It supports the admitted wild (Mammen or explicit
Rademacher), inid, fixed, and geom routes. Existing
kernel, regularization and auxiliary-space restrictions still apply.
Estimate-centered, legacy, normal-scale pmzsd and Gaussian asymptotic
inference have their own supported constructions. Families other
than the regression, density and distribution routes described here retain their existing
selection contracts. The Gaussian approximation is reflection-symmetric.
To reuse older bootstrap settings, rebuild the control without its calibration
field. Omit interval for the fitted method's default.
The raw method uses marginal lower/upper order statistics for pointwise bands and separate lower/upper family-extremum quantiles for simultaneous bands. Bonferroni is nested outward to contain the simultaneous band. Endpoints invert signed estimation errors, retaining within-panel and within-functional families. This is not the experimental marginal-rank balancing construction. The envelope is the interval hull with the same call's empirical absolute-root rectangle; it can be wider and does not repair poor raw tail calibration. Neither option uses a normal critical value or changes the selected bootstrap law.
Corrected empirical fixed/geom bands use the pilot scale
times the square root of the exact selected-block to independent score
variance ratio, including with default absolute calibration. Literal draws
and block selection are unchanged; pooled score studentization and
pmzsd retain their existing owners. Low draw counts return every
defined requested band with one aggregated resolution warning and retained
inference[[1]]$resolution diagnostics. Undefined variances still error.
For smoothed-percentile bands, order_index is the minimum empirical
index actually used over the family after companion-band enlargement;
resolution_limited indicates that this index is one.
nominal_tail_draws retains its nominal meaning. Internal regression rank
details also retain point-specific used.indices; mean-family
content counts original curves contained by the final simultaneous
band, which can differ from the selected calibration score. Analytic support
enlargement is recorded separately and does not create additional draws.
Raw asymmetric bands remain an optional method with limited finite-sample
evidence. Exposed regression replays show improvements from the block-scale
refinement, but remaining mean undercoverage and localized width inflation.
The retained Mammen envelope has separate independent confirmation evidence
for its original numeric settings; this does not qualify raw bands or
other laws. No uniform coverage guarantee or dominance is asserted.
The returned np_plot_data records selected absolute endpoints
and compact method/resolution diagnostics. Signed-root workspaces and
alternative protected/root arrays remain internal provider records. Certified deterministic targets, including a
categorical contrast against its own reference, retain zero-width intervals
and remain in the simultaneous family. The object does not retain full draws.
Regression auxiliary bias controls are supplied separately through
np_bias_control.
These helpers validate names and values early. Raw lists are deliberately not accepted as substitutes, so misspelled detailed controls fail before plot computation begins.
Compound public plot arguments use dotted spellings. The control constructors
retain their existing arguments; only the plot-facing argument names change.
Returned plot data use the common np_plot_data schema. Common rendering
controls such as data.overlay, data.rug, layout, and
output are supplied directly to plot(...) rather than through
np_render_control().
Gaussian simultaneous variability bands use the direct plot argument
gaussian.draws (default 9999), including supported density and
distribution plots. This controls Gaussian calibration only; B and
np_boot_control() continue to control bootstrap resampling. See
plot.np for supported targets, covariance contracts and
the references to Chernozhukov, Chetverikov and Kato (2013, 2015).
Conditional density and distribution level bootstraps permit different
supported continuous kernel families and orders on the X and Y sides,
including beta on either side. Beta-containing routes remain limited to
continuous X and Y with local-constant fitting and retain the resolved
support bounds stored in the bandwidth object. The nonfixed choice
changes nearest-neighbour bandwidth replay, not those fitted support bounds.
Experimental status of bias-corrected inference
Plot annotations call estimate-centered bounds variability intervals or bands
and bias-corrected bounds confidence intervals or bands. Pointwise, Bonferroni
and simultaneous refer to coverage scope, independently of asymptotic or
bootstrap construction. Simultaneous scope is the method's documented finite
family; interval="normal-sd", band="pointwise" is pointwise. Confidence
wording does not establish nominal coverage for experimental methods.
All bias-corrected confidence intervals and bands are experimental (pre-beta research), incomplete, and not recommended for general-purpose inference. This status remains in effect unless the documentation explicitly states otherwise for a particular method and scope. It applies wherever bias-corrected bounds are available: asymptotic and bootstrap constructions, including legacy methods, pointwise intervals, Bonferroni intervals and simultaneous bands, for levels and supported derivatives.
These methods form an ongoing research project. Implementation support, numerical checks and favorable simulation results in selected settings do not establish generally valid coverage. Coverage can fail outside the studied settings, and available options do not constitute a general solution to bias-corrected inference. Method-specific assumptions, restrictions and known failures must be considered when experimenting with these bounds.
Examples
if (FALSE) { # \dontrun{
plot(fit,
errors = "bootstrap",
bootstrap = "inid",
band = "pointwise",
boot.control = np_boot_control(nonfixed = "exact"))
} # }