Learn R Programming

blm (version 2011.2.0)

ci.logit.transform: 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 using a logit-transform method.

Arguments

See Also

ci

Examples

Run this code
data(birthwt)

# ESTIMATE RISK DIFFERENCE ASSOCIATED WITH MOTHER'S SMOKING STATUS, AGE, WEIGHT

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

# RISK OF LOW BIRTH WEIGHT OF CHILD BORN TO MOTHER OF AVERAGE AGE, WEIGHT

ci(fit,C=list(linear=1,expit=c(1,0,0)),coef=FALSE,
	average=list(linear=FALSE,expit=rep(FALSE,3)),
	method="logit")

Run the code above in your browser using DataLab