Learn R Programming

blm (version 2011.2.0)

blm.rr: Estimate a relative risk from a binomial linear regression model

Description

Estimate of relative risk and confidence interval between subjects of type1 and type2 based on the fit of a binomial linear regression model.

Usage

blm.rr(type1,type2,fit,sig=4,alpha=.05)

Arguments

type1
vector of covariate values for first probability estimate
type2
vector of covariate value for second probability estmate
fit
blm object for linear regression of binary data
sig
numeric number of significant digits for reported estimate
alpha
numeric value to specify the 100(1-alpha)% confidence interval for the risk difference

Value

  • For the relative risk of type1 subject to type2 subject, returns a list of est, se, lower, upper and CI.

See Also

blm