Learn R Programming

CausalGPS (version 0.5.1)

estimate_pmetric_erf: Estimate Parametric Exposure Response Function

Description

Estimate a constant effect size for matched and weighted data set using parametric models

Usage

estimate_pmetric_erf(formula, family, data, ...)

Value

returns an object of class gnm

Arguments

formula

a vector of outcome variable in matched set.

family

a description of the error distribution (see ?gnm)

data

dataset that formula is build upon (Note that there should be a counter_weight column in this data.)

...

Additional parameters for further fine tuning the gnm model.

Details

This method uses generalized nonlinear model (gnm) from gnm package.