Learn R Programming

blm (version 2011.2.0)

ci: 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.blm,ci.logit.transform

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(fit,c(0,1,0),method="hessian")

Run the code above in your browser using DataLab