summary.mecor: Summarizing Measurement Error Correction

Description Usage Arguments Value See Also Examples

View source: R/S3-mecor.R

Description

summary method for class "mecor"

Usage

1
2
## 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

1
2
3
4
5
6
7
8
9
## 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)

LindaNab/mecor documentation built on Dec. 15, 2021, 6:59 p.m.