Learn R Programming

pla (version 0.2)

Fiellers: Fiellers confidence interval

Description

Computes Fiellers confidence interval for the ratio of two normal.

Usage

Fiellers(model, Which = 1:length(which(b)), sample = "Sample", factor = paste0("factor(", sample, ")"), independent = "Z", df = summary(model)$df[2], alpha = 0.05)

Arguments

model
An object of class lm.
Which
The indices of the 'intercepts' to divide by the slope.
sample
The names, factor levels, of the intercepts.
factor
The names of the parameters for intercepts in the coef of the linear model.
independent
The name of the independent variable for the slope.
df
An integer.
alpha
A real number, preferable between 0 and 1.

References

Fieller, E.C.: The biological standardization of insulin. Supplement to the Journal of the Royal Statistical Society. 1940; Vol. VII., No. 1.