Learn R Programming

rtrim (version 2.1.1)

confint.trim: Compute time-totals confidence interval

Description

Computes confidence intervals for the time-totals of a TRIM model. Both imputed and fitted time-totals are supported, and the confidence level can be specified.

Usage

# S3 method for trim
confint(object, parm = c("imputed", "fitted"), level = 0.95, ...)

Arguments

object

a TRIM output object

parm

parameter specification: imputed or fitted time-totals.

level

the confidence level required.

...

not used [included for R compatibility reasons]

See Also

Other analyses: coef.trim(), gof(), index(), now_what(), overall(), overdispersion(), plot.trim.index(), plot.trim.overall(), results(), serial_correlation(), summary.trim(), totals(), trim(), vcov.trim(), wald()

Examples

Run this code
# NOT RUN {
data(skylark2)
z <- trim(count ~ site + year, data=skylark2, model=3)
CI <- confint(z)
# }

Run the code above in your browser using DataLab