Learn R Programming

AID (version 3.0)

confInt.boxcoxnc: Mean and Asymmetric Confidence Interval for Back Transformed Data

Description

confInt is a generic function to calculate mean and asymmetric confidence interval for back transformed data.

Usage

# S3 method for boxcoxnc
confInt(x, level = 0.95, verbose = TRUE, ...)

Value

A matrix with columns giving mean, lower and upper confidence limits for back transformed data. These will be labelled as (1 - level)/2 and 1 - (1 - level)/2 in % (by default 2.5% and 97.5%).

Arguments

x

a boxcoxnc object.

level

the confidence level.

verbose

a logical for printing output to R console.

...

additional argument(s) for methods.

Author

Osman Dag

Examples

Run this code

library(AID)

data(textile)
out <- boxcoxnc(textile[,1])
confInt(out) # mean and confidence interval for back transformed data

Run the code above in your browser using DataLab