confint2: Confidence intervals in nonlinear regression

confint2R Documentation

Confidence intervals in nonlinear regression

Description

Produces confidence intervals for the parameters in nonlinear regression model fit. The intervals can either be based large sample results or on profiling.

Usage

  confint2(object, parm, level = 0.95, method = c("asymptotic", "profile"), ...)

Arguments

object

object of class nls.

parm

a vector character strings with names of the parameter for which to calculate confidence intervals (by default all parameters).

level

the confidence level required.

method

method to be used: "asympotic" for large sample and "profile" for profiling approach.

...

additional argument(s) to pass on the method doing the profiling.

Details

The profiling used is the method confint.nls.

Value

A matrix with columns giving lower and upper confidence limits for each parameter.

Author(s)

Christian Ritz

Examples

L.minor.m1 <- nls(rate ~ Vm*conc/(K+conc), data = L.minor, start = list(K=20, Vm=120))
confint2(L.minor.m1)
confint2(L.minor.m1, "K")

nlstools documentation built on May 29, 2024, 7:32 a.m.