crit<- Substitute critical values on "locfit" object. crit<-

Usage:


crit(fit) <- crit(cov=0.99)

Arguments:

fit
"locfit" object.
value
Critical value object generated by crit or kappa0.

Description:

Every "locfit" object contains a critical value object to be used in computing and ploting confidence intervals. By default, a 95% pointwise confidence level is used. To change the confidence level, the critical value object must be substituted using crit and crit<-.

Value:

Critical value object.

See Also:

locfit, plot.locfit, kappa0, crit.

Examples:


# 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")

Key Words:

locfit
  Locfit Home   Help Index  

Built: Sat Aug 4 07:44:53 EDT 2001
Copyright © 2000, Lucent Technologies
Author: Catherine Loader