Skip to contents

Compute the ADRF

adrf()
Estimate an average dose-response function (ADRF)

Characterize and test an effect curve

plot(<effect_curve>)
Plot an effect curve
as.data.frame(<effect_curve>)
Extract estimates and confidence bands of an effect curve
summary(<effect_curve>) print(<summary.effect_curve>)
Test omnibus hypotheses about an effect curve
curve_projection() summary(<curve_projection>) coef(<curve_projection>) vcov(<curve_projection>) anova(<curve_projection>)
Project an effect curve onto a simpler model

Compute and contrast points on an effect curve

effect_curve effect_curve-class curve_est curve_est-class
Effect curve objects
summary(<curve_est>) coef(<curve_est>) vcov(<curve_est>)
Compute points on an effect curve
point_contrast() summary(<curve_est_contrast>)
Contrast point estimates along an effect curve

Compute other effect curves

amef()
Estimate the average marginal effect function (AMEF)
reference_curve()
Contrast an effect curve with a reference point
curve_contrast()
Contrast multiple subgroup effect curves

Compute shift curves and the average derivative effect

shift_curve()
Estimate a shift curve
ade()
Compute the average derivative effect

Example data

nhanes3lead
Data from NHANES III on blood lead levels and cognitive outcomes