Compute critical values for confidence intervals.
crit(fit, const=c(0, 1), d=1, cov=0.95, rdf=0) crit(fit) <- value
fit |
|
const |
Tube formula constants for simultaneous bands (the default,
|
d |
Dimension of the fit. Again, users shouldn't usually provide it. |
cov |
Coverage Probability for critical values. |
rdf |
Residual degrees of freedom. If non-zero, the critical values
are based on the Student's t distribution. When |
value |
Critical value object.
# compute and plot 99% confidence intervals, with local variance estimate. data(ethanol) fit <- locfit(NOx~E,data=ethanol) crit(fit) <- crit(fit,cov=0.99) plot(fit,band="local") # compute and plot 99% simultaneous bands crit(fit) <- kappa0(NOx~E,data=ethanol,cov=0.99) plot(fit,band="local")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.