summary.mecor {mecor}R Documentation

Summarizing Measurement Error Correction

Description

summary method for class "mecor"

Usage

## S3 method for class 'mecor'
summary(object, alpha = 0.05, zerovar = FALSE, fieller = FALSE, ...)

Arguments

object

an object of class "mecor", a result of a call to mecor.

alpha

probability of obtaining a type II error.

zerovar

a boolean indicating whether standard errors and confidence intervals using the zerovariance method must be added to the summary object.

fieller

a boolean indicating whether confidence intervals using the fieller method must be added to the summary object.

...

additional arguments affecting the summary produced

Value

The function summary.mecor returns a list of summary statistics of the fitted corrected model and fitted uncorrected model.

call

the matched call

c

summary of the corrected fit

uc

summary of the uncorrected fit

B

number of bootstrap replicates used

alpha

alpha level used

See Also

The model fitting function mecor, summary

Examples

## measurement error in a covariate:
# internal covariate-validation study
data(vat)
mecor_fit <- mecor(ir_ln ~ MeasError(wc, reference = vat) + sex + age + tbf,
                   data = vat,
                   method = "standard")
summary(mecor_fit)
summary(mecor_fit, zerovar = TRUE, fieller = TRUE)
summary(mecor_fit, alpha = 0.10)


[Package mecor version 1.0.0 Index]