Description Usage Arguments Details Value Author(s) References See Also Examples
Provides S3 methods to construct non-parametric bootstrap confidence intervals, hypothesis tests, and plots of the parameter estimates for bootCase
objects from the car package.
1 2 3 4 |
object |
A |
parm |
A number or string that indicates which column of |
level |
Same as |
conf.level |
A level of confidence as a proportion. |
plot |
A logical that indicates whether a plot should be constructed. If |
err.col |
A single numeric or character that identifies the color for the error bars on the plot. |
err.lwd |
A single numeric that identifies the line width for the error bars on the plot. |
rows |
A single numeric that contains the number of rows to use on the graphic. |
cols |
A single numeric that contains the number of columns to use on the graphic. |
... |
Additional items to send to functions. |
confint
finds the two quantiles that have the (1-conf.level
)/2 proportion of bootstrapped parameter estimates below and above. This is an approximate 100conf.level
% confidence interval.
predict
applies a user-supplied function to each row of object
and then finds the median and the two quantiles that have the proportion (1-conf.level
)/2 of the bootstrapped predictions below and above. The median is returned as the predicted value and the quantiles are returned as an approximate 100conf.level
% confidence interval for that prediction.
In htest
the “direction” of the alternative hypothesis is identified by a string in the alt=
argument. The strings may be "less"
for a “less than” alternative, "greater"
for a “greater than” alternative, or "two.sided"
for a “not equals” alternative (the DEFAULT). In the one-tailed alternatives the p-value is the proportion of bootstrapped parameter estimates in object$coefboot
that are extreme of the null hypothesized parameter value in bo
. In the two-tailed alternative the p-value is twice the smallest of the proportion of bootstrapped parameter estimates above or below the null hypothesized parameter value in bo
.
If object
is a matrix, then confint
returns a matrix with as many rows as columns (i.e., parameter estimates) in object
and two columns of the quantiles that correspond to the approximate confidence interval. If object
is a vector, then confint
returns a vector with the two quantiles that correspond to the approximate confidence interval.
Derek H. Ogle, dogle@northland.edu
S. Weisberg (2005). Applied Linear Regression, third edition. New York: Wiley, Chapters 4 and 11.
bootCase
in car.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.