Learn R Programming

bda (version 1.1.1-7)

pcb: To compute the pointwise confidence bands.

Description

To compute the pointwise confidence bands.

Usage

pcb(x,alpha=0.05)

Arguments

x
An R object with at least two component: 'y' showing the values of the distribution function (df), and 'x' showing the grid point where the df values are evaluated.
alpha
The significance level. Default: 0.05.

See Also

edf.

Examples

Run this code
x = rnorm(100)
(out = edf(x))
plot(out)
(out2= pcb(out))
lines(out2)

Run the code above in your browser using DataLab