- y
Sample from comparison distribution.
- yo
Sample from reference distribution.
- discrete
Do y
and yo
refer to a
discrete distribution? If TRUE
a discrete estimator is
used instead of the default continuous one.
- smooth
Degree of smoothness required in the fit.
Higher values lead to smoother curves, lower positive
values lead to closer fits to the observed data. If it is
not specified the value that minimizes GCV is used. If a
value less than zero is specified then the value is chosen
to minimize a corrected AIC. If discrete=TRUE
it is the minimum number of values to pool in the reference
distribution in the probability mass function estimate.
- method
Method used to estimate the relative density. The default
("Bayes"
) uses a density estimator based on Poisson Nonparametric Regression and Bayesian inference developed by Wand and Wu (2022).
The option ("bgk"
) uses a Gaussian kernel density estimator for bounded
domain one-dimensional data developed by Botev, Grotowski and Kroese
(2010). The option ("gam"
) uses a local likelihood approach
based on smoothed Poisson regression. The option "loclik"
uses
log-splines. The option "quick"
uses the Anscombe transformation
to stabilize variances. In versions prior to 1.3 the "quick"
approach was used.
- graph
Graph the results on the current device.
- bar
Graph the deciles on the current device. Possible values
of bar
are "no"
(no deciles plotted), "yes"
(deciles plotted with the non-parametric fit,
"only"
(deciles plotted without non-parametric fit).
- add
Add the density to the current plot?
- ylim
plotting limit for the vertical axis.
- lty
Line type to be used for the density.
- xlab
Horizontal label.
- ylab
Vertical label.
- ylabs
Locations for label to be added to the right axis.
- ylabslabs
Labels indicating the original scale for the
comparison distribution.
- ylabsloc
Distance of labels to right of axis (in lines).
- yolabs
locations for labels to be added to the tip axis.
- yolabslabs
Labels indicating the original scale for the
reference distribution.
- yolabsloc
Distance of labels above axis (in lines).
- yaxs
Style of vertical axis.
- cdfplot
calculate and plot the CDF rather than the density.
- quiet
Should the output be returned invisibly?
- ci
Plot (pointwise) 95% confidence intervals?
- ywgt
Weights on the comparison sample.
- yowgt
Weights on the reference sample.
- z
Covariate on the comparison sample to be used to adjust it
to the reference distribution. Only used if the form of matching
specified in
decomp="covariate"
.
- zo
Covariate on the reference sample to be used in
the adjustment. to the reference distribution. Only used if
the form of matching specified in
decomp="covariate"
.
- show
Type of relative distribution to produce. Possible values
are "none"
(comparisons to reference), residual
(location-matched reference to reference), effect
(comparison
to location-matched reference).
- decomp
Form of matching to the comparison sample. Possible
values are locmult
(multiplicatively scale the reference),
locadd
(additively shift the reference), lsadd
(location/scale additive shift), covariate
(covariate adjust
the reference (requires z and zo to be specified)).
- location
How to measure location. Possible values are
"mean"
and "median"
.
- scale
How to measure the scale. Possible values are
"standev"
(standard deviation) and IQR
(interquartile
range).
- rpmult
Only in calculation of polarization indices:
multiplicatively scale the reference sample to the comparison sample
before comparing the two distributions?
- binn
Number of bins used in the smoother.
- deciles
The percentiles used for the histogram bins. Typically
deciles (i.e., 0.0, 0.1, 0.2,...,0.9, 1.0), but any set can be used
(e.g., quintiles, terciles).
- aicc
Values of the smoothing parameter to search
over in minimizing the corrected AIC. Only used if
method="gam"
and smooth
is less than 0.
- type
Type of plot to use. See par()
.
- cex
Character expansion to use in plots. See par()
.
- y0
A test to see if yo
was passed. If y0
is passed
it prints a warning. If y0
is passed and yo
is not passed
then y0
is used as the sample from reference distribution.
- control
list; A simple list of control options for the STAN HMC computation used when method="Bayes"
, the default.
The two components are samples=4000
, the number of samples drawn and burnin=1000
, the burn-in used.
- ...
Additional arguments to the plot functions. See par()
.