Learn R Programming

blm (version 2011.2.0)

ci.blm: Compute confidence interval for linear combination of estimates from a blm and lexpit fit.

Description

Computes a confidence interval for the specified linear combination of the regression coefficients of a blm or lexpit model.

Arguments

See Also

subresample,ci

Examples

Run this code
data(birthwt)

# ADDITIVE MODEL FOR LOW BIRTHWEIGHT
# ESTIMATE RISK DIFFERENCE ASSOCIATED WITH MOTHER'S SMOKING STATUS AND AGE

fit <- blm(low~smoke+I(scale(age)),data=birthwt)

# ESTIMATE RISK DIFFERENCE ASSOCIATED WITH SMOKING

ci.blm(fit,c(0,1,0))

Run the code above in your browser using DataLab