Learn R Programming

usl (version 1.8.0)

confint,USL-method: Confidence Intervals for USL model parameters

Description

Estimate confidence intervals for one or more parameters in a USL model. The intervals are calculated from the parameter standard error using the Student t distribution at the given level.

Usage

# S4 method for USL
confint(object, parm, level = 0.95)

Arguments

object

A USL object.

parm

A specification of which parameters are to be given confidence intervals, either a vector of numbers or a vector of names. If missing, all parameters are considered.

level

The confidence level required.

Value

A matrix (or vector) with columns giving lower and upper confidence limits for each parameter. These will be labelled as (1-level)/2 and 1 - (1-level)/2 in % (by default 2.5% and 97.5%).

Details

Bootstrapping is no longer used to estimate confidence intervals.

See Also

usl

Examples

Run this code
# NOT RUN {
require(usl)

data(specsdm91)

## Create USL model
usl.model <- usl(throughput ~ load, specsdm91)

## Print confidence intervals
confint(usl.model)

# }

Run the code above in your browser using DataLab